/onlineshop

An e-commerce REST API backend with django and django rest framework

Primary LanguagePythonMIT LicenseMIT

onlineshop

An e-commerce API backend with django and drf. it's still in progress and it isn't completed.

Installation

1 - Clone project

2 - Install pipenv with this command py -m pip install pipenv

3 - Create virtual environment and install packages using py -m pipenv install in cloned directory

4 - Create onlineshop database in your mysql server

5 - Create .env file in cloned directory and copy & replace .env.example with right data into it.

6 - Run py -m pipenv shell to activate virtual environment

7 - Migrate database with py manage.py migrate command

8 - Create superuser using py manage.py createsuperuser command

9 - Start server with py manage.py runserver command

10- open http://127.0.0.1:8000/api/v1/docs/ in your browser