Skip to content

haraleks/Eshop

Repository files navigation

====================== Backend is project online store

Swagger on url: /swagger/, /swagger.json

RESTful API online store for the sale of phones

  • Install docker <https://docs.docker.com/engine/install/>_

  • Install docker-compose:

    pip install docker-compose

  • Clone project:

    cd /path/to/project


How start?


  • Start the environment (it will take a long time to build for the first time):

    make run

Issue: If you have this error: FileNotFoundError: [Errno 2] No such file or directory: '/usr/src/logs/debug.log' add dir 'logs' to src/ Example: src/logs/

  • Stoped:

    make stop


How enter?


Open browser: 0.0.0.0:5000 <http://0.0.0.0:5000>_


How test?


`make test`

If there are problems with migrations?


`make clean`

The rest of the commands can be found by running:


`make`


Main modules project:


Eshop


1. env files all settings

Apps
  1. shop - keep main module on project
  2. User - keep module registration customer
  3. core - auxiliary functions

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages