Skip to content

KanishkRastogi46/autodev-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Backend for final year project

Steps to follow before starting the project

  • Clone the repo

    git clone https://github.com/KanishkRastogi46/autodev-backend.git
  • Create virtual environment

    python -m venv .venv
  • Activate virtual environment

    ./.venv/Scripts/Activate.ps1
  • Install required packages

    pip install -r requirements.txt
  • Create .env file at the root folder
  • Create a MySQL database on cloud and store its credentials in .env file and also download the .pem at the root folder
  • Also create an API key to integrate Google Gemini Api on Google ai studio
  • Run your app using
    uvicorn main:app --reload
  • Your app is running on port 8000

Users

  • route ("/users")

    1. "/"- for getting all users

    2. "/register"- for registering users

  • model

    1. Users model