Book Trading Club
A web application for users to help borrow books. When a user posts a book, other users can send a request to borrow that book. The owner of the book can then decide whether to accept or reject the borrow request. The backend consists of Node.js and MongoDB with a REST API. Libraries and APIs used include PassportJS (for user authentication), Google Books API (for getting book details).
To use the hosted version, just use a random email and password. Since it is not connected to an email service, no email based authentication is required.
Clone the project
git clone https://github.com/khansubhan95/chart-stock.git
to install the dependencies
Rename .env.template to .env
Sign up on Google Books API and insert into .env the generated API key
The project uses MongoDB to store data so make sure you have it installed. Use the MONGO_URI to access a DB from the app.
This application was deployed on gomix. To deploy, create a GitHub repository, push the project to the repo. Create a new gomix application, and import the repo into it by going to project_name > Advanced Options > Import from GitHub . Do this process everytime, you change your repo. Copy contents of .env to env.
MONGO_URI Use a third party service like mLab to make a MongoDB database and note down the access point. Insert this URI into the mongo variable in .env
View other dependencies in package.json
- Fork it
- Create your branch
- Commit your changes
- Push to branch
- Submit a pull request