First, clone project:
git clone https://github.com/EgiStr/e-commerce-backend.git
second, Create environment python:
py -m venv Env
# or
# with other environment
Third, activate environment & install requirements:
# in cmd
Env\Scripts\activate #in powershell Activate.ps1
pip install -r requirements.txt
create projects in firebase for activate push notification :
download admin sdk in dashboard with format .json
place sdk in root/utils/firebase
and rename with firebaseSdk.json
migrate database :
python manage.py migrate
last,run the development server:
python manage.py runserver
Open http://localhost:8000 with your browser to see the result.
you can see endpoint with http://localhost:8000/api/ to see endpoint endpoint