Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pro1code1hack/epam
EPAM E-commerce Project
https://github.com/pro1code1hack/epam
crud docker python3 rest-api
Last synced: 9 days ago
JSON representation
EPAM E-commerce Project
- Host: GitHub
- URL: https://github.com/pro1code1hack/epam
- Owner: pro1code1hack
- Created: 2021-12-02T03:28:28.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2021-12-30T23:15:33.000Z (almost 3 years ago)
- Last Synced: 2024-11-18T03:40:53.475Z (about 1 month ago)
- Topics: crud, docker, python3, rest-api
- Language: HTML
- Homepage:
- Size: 15 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
****Real commercial project for the steell-shop****
This project represents the REST-API internet shop, where you can:
1) Use CRUD operations with items through the json format
2) USE CRUD operations with received orders from the client through json format
3) Make CRUD items via special admin panel to manage the store
----------------------------------------------------------------------------------------------
Essential links:
1) http://3.122.222.148:81/swagger
2) http://3.122.222.148:81/
3) http://3.122.222.148:81/admin
----------------------------------------------------------------------------------------------
**You can easily run the app from docker using these commands**:
git clone: ...
sudo docker build . -t epam_test -f ./Dockerfile
sudo docker run -p 8000:8000 epam_test
sudo docker image ls
sudo docker ps
For the preliminaril usage of the project open a new terminal session and use these commands:
sudo netstat -ltnp
curl -X GET "http:/3.122.222.148:81/items" -H "accept: */*"
----------------------------------------------------------------------------------------------
Otherwise , if you want to run the app.py using gunicorn, input the next command into the terminal
gunicorn app:app -w 2 --threads 2 -b 191.*.*.*:8000