Skip to content

abhinandanjoshii/placeMate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 

Repository files navigation

placeMate

A full stack application integrated using AI models to generate placement questions for interview preparation.


🐍 Backend Setup (FastAPI + SQLAlchemy)

1 Navigate to the backend directory

cd backend

2 Create the Enviroment File

python -m venv .venv

3 Activate the venv

source .venv/bin/activate

AND

.venv\Scripts\activate

4 Install Dependencies

pip install -r requirements.txt

5 Initialize the DB (if not , you can change db name from the models file

6 Start the FastAPI Server

uvicorn src.app:app --reload

Frontend Setup (Vite)

Make sure you have Node.js in your system

1 Change to that directory for frontend

cd frontend

2 Install node dependencies

npm install

3 Start the server

npm run dev

Make sure that you add all API keys and secrets in the .env file.

Reference

Backend:

uvicorn src.app:app --reload – Start dev server
python src/database/models.py – Initialize DB tables

Frontend:

npm run dev – Start frontend dev server
npm run build – Build production assets
npm run preview – Preview production build

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors