Skip to content

htrivedi99/Jupyter-Notebook-Clone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Jupyter Notebook Clone

Project Breakdown:

  • Frontend
    • Built using Next JS and Tailwind CSS
  • Backend
    • Built using FastAPI, MongoDB, and Supabase

Setting up the Frontend

  1. Install the node packages. Use the command npm install
  2. Run the frontend using the command npm run dev

Setting up the Backend

  1. Create a python virtual environment with python version 3.10
  2. Install all of the required python packages via pip. pip install -r requirements.txt
  3. Install Mongodb locally
  4. 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

Screenshots

jupyter_shot_1

jupyter_shot_2

jupyter_shot_2

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published