book_store
flask boiler plate(12 factor app) with JWT and email implementation. Having basic usage of libraries and best practices
Book store is a application where you can rent number of books and the charges will be deducted according to number of books and charges of a particular book
Usage and refer postman collection link for it
- First signup to application by providing username and password to following url
- login using following url
http://18.221.10.136:8080/api/v1/login?user_name=anand&password=password
- get books availability details: get method
- delete book: delete method
- rent book: post method
- Check user statement
Installation
Please follow following steps
- git clone https://github.com/anandtripathi5/book_store.git
- create virtual environment
virtualenv book_store
- Activate virtualenv
source book_store/bin/activate
- Install dependencies
pip install -r requirement.txt
- run supervisor using supervisor.conf file and pass mysql url in env_var.env file