This is a test project. To know more about the project and its details please follow this wiki page
By default it will have the DefaultConfig and for test runner it will use TestConfig
- For Email Setup,
username
andpassword
is required. You can use your gmail credentials but you need to change your Gmail security settings - If you want to test the app without using the Email notification, set
SENT_EMAIL=False
- We used
Celery
for task runner with multiple queue. To change the schedule time, here is the options - Ebay APP Id is required
- Use this one
SayedKab-shoreapp-SBX-21d98cfe6-67df03b3
for test purpose. - Please note, its difficult to get data from Ebay sandbox, I use these phrases to get data
Computer
,Toy
,Harry Potter
,Adventure
,USA
- To run the project from docker, run command -
docker-compose up --build
for the first time - For later use only -
docker-compose up
- For details check docker-compose and DockerFile
- To check tests -
docker exec -it shore-app pytest
docker-compose up --build
ordocker-compose up
http://127.0.0.1:5000/
- Use postman or any other client to test the API
- Resources -
/api/users
[GET, POST]/api/user/:id
[EDIT, PUT, DELETE]/api/subscriptions
[GET, POST]/api/subscription/:id
[GET, PUT, DELETE]
- Turn on debug mode, set
DEBUG=True
- docker logs -
docker logs -f [container-name]
- Log file in
/var/log/shore_app
directory, using LogRotation.
- Home Page