Get full documentation of internal workings here.
-
Clone this repository
git clone https://github.com/swayam25/Rythmify rythmify cd rythmify
-
Configure the
config.json
fileConfiguration
-
discord
client_id
: Discord OAuth2 Client IDclient_secret
: Discord OAuth2 Client Secret
-
server
: Backend server url -
client
: Frontend client url
-
-
Copy the
Client ID
andClient Secret
from the Discord Developer Portal and paste them into theclient_id
andclient_secret
fields, respectively, in theconfig.json
file -
Add
http://localhost:2501/auth/callback
to the Discord OAuth2 Redirect URIs
Note
You can skip the discord developer portal configuration (step 3 & 4) if you don't want to use login related features.
-
For backend
- Install dependencies
cd server python -m venv .venv source .venv/bin/activate pip install -r requirements.txt
- Start the server
fastapi dev --port 2501
- Install dependencies
-
For frontend
- Install dependencies
cd client npm i
- Start the client
npm run dev -- --port 2500
- Install dependencies
-
Follow steps 1-4 from the installation guide. Ignore if already done.
-
For backend
- Install dependencies (Ignore if already done)
- Start the server
fastapi run --port 2501
-
For frontend
- Install dependencies (Ignore if already done)
- Build the client
npm run build
- Preview the client
npm run preview -- --port 2500
Tip
Checkout the deployment guide for more information.