Hello-Books is a simple application that helps manage a library and its processes like stocking, tracking and renting books. A normal user (non-admin) can register to be a user, login, view all books available, borrow a book and logout. The admin, in addition to what the normal user can do is also able to create a new book, edit or delete an existing book.The admin role can also upgrade a normal user to admin status and view all the current users.
Link to Heroku application:https://boiling-shelf-58690.herokuapp.com/
Link to HelloBooks API documentation: https://hellobooks12.docs.apiary.io/#
- React
- Bootstrap
- Python 3.6.0 and flask framework for the backend api
Clone or download the api from github. To clone:
git clone https://github.com/loicemeyo/hellobookscp4.git
Move into the Hellobooks directory
cd Hellobooks
- To run the application, first add node_modules to your root application by running the following command:
npm install
- The application is set. Start the application by the command:
npm start
- Once running, a browser automatically opens the application.
- Hello-Books application makes use of jest, enzyme and sinon to test the application. To run tests, cd into the
application and type:
npm run test
- Loice Meyo
2018