Hello-Books is a simple Flask API that manage a library and its processes like stocking, tracking and renting books
Features
-
Users can create an account and log in
-
Users can view books.
-
Users can borrow books.
-
Only admin users should be able to add, modify and delete book information
Tools
Microframework: Flask
Programming Language: Python 3
Api development: Postman
Tests
From the project's directory run the tests by using this command python -m unittest discover -v
How to run this project
Git clone the project $ git clone https://github.com/Erianafranky/Hello-Books-API.git
-
Install virtual environment $ pip install virtualenv
-
Create a virtual environment for the project then activate it $ virtualenv my-venv
-
Install requirements $pip install -r requirements
-
Navigate to the app folder then run the command python run.py