Skip to content

IIITL-DeV/Bookstore

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bookstore

Project for IIIT Lucknow

Online Second Hand book store to buy, sell used books & specially for Competitive Exams.

Contributors

  • Abhishek Singh (LIT2019008)
    • Frontend Lead, API calling and exception handeling, Testing
  • Sumit Kumar (LIT2019009)
    • UI/UX design, Skeleton modeling of frontend, Breakdowns testing, basic css support
  • Kushagra Patel (LCS2019071)
    • React Component handeling, raw html css handeling, resolving warnings
  • Rohit Kumar (LIT2019037)
    • Backend Lead, Database Creation & handeling, API creation & handeling.
  • Rahul Yadav (LIT2019010)
    • API testing with Postman, Added express validators in all APIs, and resolved bugs

Built With

Frontend

Backend

Requirements

You will need node and npm installed globally on your machine.

$ npm -v

The terminal should return your npm version.

How to set up your local environment

Clone App

  • Make a new folder and open the terminal there.
  • Write the following command and press enter.
$ git clone https://github.com/RohitKumar-200/Bookstore.git

For Frontend

1. Move to Frontend directory

$ cd Frontend

2. Install node packages

$ npm install

3. Run Locally

$ npm start

For Backend

1. Move to Backend directory

$ cd Backend

2. create a .env file in Backend directory and add following variables in it

DATABASE=<MongoDB connection string>
JWT_SECRET=<Any randomly created secret>
SENDGRID_API_KEY=<Sendgrid API to send e-mails>

3. Install node packages

$ npm install

4. Run Locally

$ npm start

Some points to consider

  • Currently frontend is connected to a api which is hosted in heroku
  • To connect locally hosted backend to frontend, change base API url in frontend to http://localhost:4000

Links

Screenshots

Screenshot (33)

Screenshot (34)

Screenshot (35)

Screenshot (36)

Screenshot (37)

Screenshot (38)

Screenshot (39)

Screenshot (40)

Screenshot (41)

Screenshot (53)

Screenshot (42)

Screenshot (43)

Screenshot (44)

Screenshot (45)

Screenshot (46)

Screenshot (47)

Screenshot (48)

Screenshot (49)

Screenshot (50)

Screenshot (51)

Screenshot (52)

Screenshot (54)

Screenshot (55)

Screenshot (56)

Screenshot (57)