loicemeyo / hellobookscp4

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build Status Codacy Badge Coverage Status

Hello Books

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/#

Technology used

  • React
  • Bootstrap
  • Python 3.6.0 and flask framework for the backend api

Installation and Setup

Clone or download the api from github. To clone:

git clone https://github.com/loicemeyo/hellobookscp4.git

Move into the Hellobooks directory

cd Hellobooks

Running the api

  • 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.

Testing

  • 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

Authors

  • Loice Meyo

First publication

2018

About


Languages

Language:JavaScript 91.1%Language:CSS 7.1%Language:HTML 1.8%