├── .env ├── .gitignore ├── .vscode └── settings.json ├── babel.config.js ├── package.json ├── src ├── api │ └── discord.api.ts ├── app.ts ├── assets │ ├── creating-app-1.jpg │ ├── creating-app-2.jpg │ ├── json.jpg │ ├── keys.jpg │ ├── oauth-screen.jpg │ └── redirect.jpg ├── config │ └── db.config.js ├── controllers │ └── discorduser.controller.js ├── lib │ └── env.ts ├── models │ ├── discorduser.model.js │ └── index.js └── server.ts └── tsconfig.json /.env: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/acehood0126/discord-oauth2-express/HEAD/.env -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | /node_modules 2 | /package-lock.json -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/acehood0126/discord-oauth2-express/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /babel.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/acehood0126/discord-oauth2-express/HEAD/babel.config.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/acehood0126/discord-oauth2-express/HEAD/package.json -------------------------------------------------------------------------------- /src/api/discord.api.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/acehood0126/discord-oauth2-express/HEAD/src/api/discord.api.ts -------------------------------------------------------------------------------- /src/app.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/acehood0126/discord-oauth2-express/HEAD/src/app.ts -------------------------------------------------------------------------------- /src/assets/creating-app-1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/acehood0126/discord-oauth2-express/HEAD/src/assets/creating-app-1.jpg -------------------------------------------------------------------------------- /src/assets/creating-app-2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/acehood0126/discord-oauth2-express/HEAD/src/assets/creating-app-2.jpg -------------------------------------------------------------------------------- /src/assets/json.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/acehood0126/discord-oauth2-express/HEAD/src/assets/json.jpg -------------------------------------------------------------------------------- /src/assets/keys.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/acehood0126/discord-oauth2-express/HEAD/src/assets/keys.jpg -------------------------------------------------------------------------------- /src/assets/oauth-screen.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/acehood0126/discord-oauth2-express/HEAD/src/assets/oauth-screen.jpg -------------------------------------------------------------------------------- /src/assets/redirect.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/acehood0126/discord-oauth2-express/HEAD/src/assets/redirect.jpg -------------------------------------------------------------------------------- /src/config/db.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | url: "mongodb://localhost:27017/DiscordUsers", 3 | }; 4 | -------------------------------------------------------------------------------- /src/controllers/discorduser.controller.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/acehood0126/discord-oauth2-express/HEAD/src/controllers/discorduser.controller.js -------------------------------------------------------------------------------- /src/lib/env.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/acehood0126/discord-oauth2-express/HEAD/src/lib/env.ts -------------------------------------------------------------------------------- /src/models/discorduser.model.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/acehood0126/discord-oauth2-express/HEAD/src/models/discorduser.model.js -------------------------------------------------------------------------------- /src/models/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/acehood0126/discord-oauth2-express/HEAD/src/models/index.js -------------------------------------------------------------------------------- /src/server.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/acehood0126/discord-oauth2-express/HEAD/src/server.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/acehood0126/discord-oauth2-express/HEAD/tsconfig.json --------------------------------------------------------------------------------