Hello-Books is a simple application that helps manage a library and its processes like stocking, tracking and renting books. With this application users are able to find and rent books.
This app is hosted on [https://hello-book.herokuapp.com/]
The API has the following features
- Creating an account
- Signing in as an existing user
- Reset password
- View and update profile
- Change password
- View books
- Borrow and return borrowed books
- View borrowing history
- Receive email notification when a surcharge is place for late return of borrowed book
- Add, edit and delete books
- Add, edit and delete categories
- Group a books by category
- Edit membership types
- View and read borrowing notifications
Hello-books was built with the following technologies:
- Node.js
- Express Js - Node express server
- sequelize - Database ORM
- postgreSQL - Database server
- React.js - Front-end
- Redux.js - Front-end
-
Navigate to a directory of choice on
terminal
orcmd
. -
Clone this repository on that directory.
https://github.com/solnsumei/hello-books.git
-
Navigate to the repo's folder on your computer
cd hello-books/
- Install the app's dependencies. For best results, using a node package manager.
npm install
-
In order to use app dependencies, you need to install it through npm. You also need to have node and postgres installed on your system.
-
Run the app
npm run start
That should start your server. You are ready to go from there
- Use separate databases for development and testing as shown in the .env.example file
- Run server-side test with
npm test:local
- Run client-side test withh
npm run test:client
For in depth documentation see: [https://hello-book.herokuapp.com/api/docs]
Contributions are welcome and appreciated. To contribute
- Fork this repository here
- Open a terminal and execute the following command to make a local copy
$ git clone https://github.com/solnsumei/hello-books.git
- Run this code to navigate into the folder
cd hello-books
- Make your contributions to your local repo
- Add a connection to the original repo using
$ git remote add repo_nickname https://github.com/solnsumei/hello-books/
- Note that
repo_nickname
is a nickname you choose. - Run
git remote -v
to verify that the connection is established - Make your contributions to your local copy of the project
- Run
git add
andgit commit
to commit your contributions to the project - Run
git push
to push your changes to your copy of the repository - If you feel you've made a contribution that will improve the project, raise a pull Request against the development branch.
- Be descriptive enough about your contributions so other contributors will understand what you've done
- I look forward to your pull requests!
Hello-books current limitations (aka features in development) include:
- Upload book by admin
- Users can contribute books by region
- Users ability to read books online
This project is available for use and modification under the MIT License. See the LICENSE file for more details.