Sign me up is an authorisation system for the unofficial IIIT Pune Discord.
-
Hosted at https://iiitp-discord.netlify.app/.
-
Built with React, Firebase, Node and Discord API.
-
Clone the repository.
-
Create a project on the firebase console.
-
Add a
Web Appto the project. -
Copy the SDK configuration to a
.envfile to initialise the environment variables.- Prefix the field names with
REACT_APP. - Example:
REACT_APP_APIKEY = <some_api_key>
- Prefix the field names with
-
Enable Authentication for the firebase project. Add Google to the sign-in methods.
-
Set up an
service accountin the project settings.- Download the
serviceAccountKey.jsonfile and create [./server/serviceAccountKey.json].
- Download the
-
-
Create a Discord Developers Account.
-
Create an Application.
-
Save the keys (Public and Client Secret) to the
.envfile. -
Change the redirect URI to the local port URI where your client app will be running. Example
https://iiitpauth.herokuapp.com. -
Save the redirect URI to the
.envfile.
-
-
Start the Client App locally with
npm start. -
Install Nodemon as a global and dev dependancy. Start the Server App with
npx nodemon server.js
- Submit an Issue for Bugs or Feature Requests.
- Set up the local environment.
- Submit Pull Requests for the Assigned Issues.