Portal for distributing Creative Computing Scoiety merch to society members.
Client: ReactJs
Server: Python, Django-Rest-Framework
Database: PostgreSQL
Clone the project
git clone https://github.com/creative-computing-society/merch-store.gitGo to the project directory
cd frontendInstall the project dependencies
npm installRun the start script
npm startGo to the project directory
cd backend/configWe recommend you to use virtual environment
python -m venv envActivate virtual environment
For Windows PowerShell
env/Scripts/activate.ps1For Linux and MacOS
source env/bin/activateInstall dependencies
pip install -r requirements.txtCreate .env file in project's root directory(base directory), and add SECURITY_KEY, EMAIL_HOST_USER, and EMAIL_HOST_PASSWORD
Run Migrations
python manage.py makemigrations
python manage.py migrate
Start the server
python manage.py runserver- auth/login/ - Login
- auth/logout/ - Logout
- auth/change-password/ - change password
- auth/user/ - get user details
- order/all/ - get all user orders
- order/initiate/ - intitate an order
- order/place/ - place an order
- order//- get order details
- product/all/ - all products
- product/<product_id>/ - product details
- cart/add/ - add to cart
- cart/view/ - view cart
- cart/delete/ - delete cart item