Website CLassin
that provides an optimzed UI with various features in classroom management.
📄 PDF: Link
📄 Slide: Link
Backend: https://website-classin.onrender.com
- Install venv on Linux or WSL(Windows Subsystem for Linux)
sudo apt install python3.10-venv
- Clone the repo
git clone https://github.com/vihao1802/Website-ClassIn.git
- From
root
directory, move tobackend
cd backend
- Init and Set up venv(Virtual Environment) folder
python3 -m venv venv
- Activate
venv
source ./venv/bin/activate
- Install all packages in
requirements.txt
pip install -r ./requirements.txt
- From
root
directory, move tofrontend
cd frontend
- Install all required packages in
packages.json
npm i
- Create file
.env.local
in folderfrontend
with format:
REACT_APP_BASE_URL=http://localhost:8000/api
REACT_APP_WEBSOCKET_URL=ws://localhost:8000/api/ws
- Create file
.env
in folderbackend
with format:
URL_DATABASE="sqlite:///./classin_database.db"
PORT=8000
DOMAIN_URL=http://localhost:8000
DOMAIN_CLIENT=http:localhost:3000
JWT_ALGORITHM=HS256
JWT_SECRET=#use_generate_UUID_tool_for_this
EMAIL=#email-for-upload-file-feature
PASSWORD_EMAIL=#password-email-for-upload-file-feature
SERVICE_ACCOUNT_FILE=#use-absolute-path-to-backend/config/xenon-timer.json_file
- From
root
directory
cd frontend
- Run
frontend
npm start
- From
root
directory
cd backend
- Run
backend
uvicorn main:app --reload
This project exists thanks to all the people who contribute.
Copyright © 2024 Tran Vi Hao.
This project is MIT licensed.