“The more that you read, the more things you will know. The more that you learn, the more places you’ll go”
| NAME | SID |
|---|---|
| Dhruv Chopra | 19103040 |
| Ayush Kumar | 19103080 |
| Vernie Thorpe | 19103081 |
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)
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.
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
npm install cd frontend npm install
# Run frontend (:3000) & backend (:5000)
npm run dev
# Run backend only
npm run server
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
