Skip to content

BookTrip/BT_Project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

logo

Online Books Platform

“The more that you read, the more things you will know. The more that you learn, the more places you’ll go”

Our Team

NAME SID
Dhruv Chopra 19103040
Ayush Kumar 19103080
Vernie Thorpe 19103081

Problem Analysis

If you've ever set foot in a bookworm's bedroom, the first thing you'll notice are the books. In fact, there are probably so many books that the dusty shelves are creaking under the weight of limited-edition hardcovers and dog-eared paperbacks. This lack of space can lead people to wonder what they should do with their books. The two main questions arise:

  • How to effectively store books? (so that it takes up minimum space)
  • How to carry books from place to place? (as books are usually heavy)

Proposed Solution

Our team has come up with an online platform as a solution to this problem. BT: BookTrip is an Online Books Platform that would play the role of a catalogue of books, which would be available for download and storage on the user’s devices. It provides the convenience of having thousands of books on a single device. The purpose of BT: BookTrip is to effectively act as an online book store as well as a personalised online bookshelf. The purpose of our project is to make books available for readily, at all times and all in one place. The users will LOG-IN to their profiles and will get a host of books to choose from. The user will be able to COMMENT on and REVIEW the books he/she might have read. Books will be available for DOWNLOAD, once it has been PAYMENT has been made. The books in the database would be make available through a SUPPLIER, usually publishing companies. These companies would SUPPLY PRODUCTS, i.e., the books they own, and the ADMIN will add them in the database of the ONLINE BOOK PLATFORM and be made available for the users to access.

Usage

Env Variables

Create a .env file in then root and add the following

NODE_ENV = development
PORT = 5000
MONGO_URI = your mongodb uri
JWT_SECRET = 'abc123'
PAYPAL_CLIENT_ID = your paypal client id

Install Dependencies (frontend & backend)

npm install cd frontend npm install

Run

# Run frontend (:3000) & backend (:5000)
npm run dev

# Run backend only
npm run server

Seed Database

You can use the following commands to seed the database with some sample users and products as well as destroy all data

# Import data
npm run data:import
Sample User Logins:

admin@example.com (Admin)
123456

dhruv@example.com (Customer)
123456

ayush@example.com (Customer)
123456

vernie@example.com (Customer)
123456

Languages and Tools:

mongodb express react nodejs redux html5 css3 javascript bootstrap

About

DBMS Project Repository

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors