https://github.com/andrewn6/discord-auth
Discord oauth2 with next.js, react.js, and express,
https://github.com/andrewn6/discord-auth
discord express nextjs react
Last synced: 6 months ago
JSON representation
Discord oauth2 with next.js, react.js, and express,
- Host: GitHub
- URL: https://github.com/andrewn6/discord-auth
- Owner: andrewn6
- Created: 2021-03-10T21:25:10.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-03-24T11:35:17.000Z (over 4 years ago)
- Last Synced: 2024-12-31T07:44:23.339Z (6 months ago)
- Topics: discord, express, nextjs, react
- Language: TypeScript
- Homepage:
- Size: 68.4 KB
- Stars: 8
- Watchers: 1
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app).
## Getting Started
First, run the development server:
```bash
npm run dev
# or
yarn dev
```Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
> Note: Make sure you create a .env file at the root of the repository and add your clientid and client secret.
Also, make sure the API is running on port 3001 as the frontend is sending requests to the API running on localhost:3001 you can do this via:
```bash
cd api
```
```bash
node index.js
```