- Run the command
npm run prod
- Access frontend at
localhost:4200
- Access backend swagger at
localhost:8000/docs
-
Development tools versions necessary
- Frontend
- npm 9.8.1
- Node 18.18.2
- Angular CLI 16.2.7
- Backend
- Python 3.10.11
- Database
- MariaDB
- Frontend
-
Database
- Create a database named
edustore
- Create a database named
-
Backend
cd backend
- Create a virtual environment and access it
pip install -r requirements.txt
to install python dependenciesalembic upgrade head
to run the migrations creating tablesuvicorn src.api:app --host 0.0.0.0 --port 8000
to run the backend- Access backend swagger at
localhost:8000/docs
-
Frontend
cd frontend
npm i
to install dependenciesnpm run dev
to run the frontend- Access frontend at
localhost:4200