Repository files navigation
Frontend
Built using Next JS and Tailwind CSS
Backend
Built using FastAPI, MongoDB, and Supabase
Install the node packages. Use the command npm install
Run the frontend using the command npm run dev
Create a python virtual environment with python version 3.10
Install all of the required python packages via pip. pip install -r requirements.txt
Install Mongodb locally
Setup Supabase
For this project I'm using the cloud based version of Supabase
You'll need to create an account
Once you have an account, create a new project
Select your project and go to the table editor
Create a new table called users
Create three fields for the table (user_id, email, password)
All three fields are of type text
The user_id is going to be the primary key in this table
Create the table and then go to the Project Settings tab
Copy the Project URL and paste the value inside the init function in supabase_db.py. supabase_url = "Project URL Here"
Back in the Project Settings tab copy the service_role secret NOT the anon public key.
Paste this value inside the init function of the supabase_db.py script. supabase_key = "Your API Key Here"
Run the main.py function to start the FastAPI server
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
You can’t perform that action at this time.