This is a Python3-Flask server for a book library where we are adding a new /request endpoint which allows a user to request a book by title. All CRUD endpoints accept and return valid JSON. Sqlite was used as a datastore.
- Use of venv for python virtual environment
- Use of pip for installing dependencies
Command to install libraries:
pip install -r requirements.txt
To run the project locally, please follow the steps given below.
-
Clone this Repository
git clone https://github.com/Wandonium/flask-book-api
-
Go to Project directory
cd flask-book-api
-
Create python virtual environment for project
python3 -m venv .venv
-
Activate virtual environment
source .venv/bin/activate
-
Install all dependencies from requirements.txt
pip install -r requirements.txt
-
Run the server
python app.py
- Solution URL: Solution on Github
- Live Site URL: Live Site on Microsoft Azure
- Project Blogpost: Blogpost on Medium
- Website - Hillary Wando
- Twitter - @hillarywando
Any comments, suggestions or corrections are welcome. Contribution are welcome as This repository is licensed under MIT License.