/discord-auth

Discord oauth2 with next.js, react.js, and express,

Primary LanguageTypeScript

This is a Next.js project bootstrapped with create-next-app.

Getting Started

First, run the development server:

npm run dev
# or
yarn dev

Open 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:

cd api
node index.js