Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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 days ago
JSON representation

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

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
```