This website is for VJTI students especially freshers who find it difficult to get used books & other study material. Seniors can post ads for products which they have used in previous semester. Basically a user can sell as well as buy products here. This portal connects freshers with their seniors who are interested in selling their used study material.
- HTML 5
- CSS 3
- Bootstrap 4
- EJS
- Express
- NodeJS
- PostgreSQL
- Install the latest version of Node & PostgreSQL.
- Run npm --version & node --version to check if Node is properly installed.
- Clone this project to your local repository.
- Run 'npm install' in working directory to install all the dependencies required.
- Create a postgres daatabase with all DDL statements provided in sql.txt file OR import thevstore.sql file.
- Set up a .env file in working directory as follows:
- You will have to use your own crypto key & iv and also your own database credentials
-This app is hosted on heroku https://thevstore.herokuapp.com (Note: You can use AWS bucket for storing images permanently)
- User first has to register with valid mail id
- User can add products for sale or buy from available products
- He can search for a particular product through all products or category wise also (There are 6 categories)
- Product details are shown category wise & comments can be added.
- User can see anyone's profile & can edit his own.
- Before buying product, it has to be added to cart.
- When buyer clicks Buy, request is sent to seller through mail.
- Seller can either accept request or just ignore (Note : He should be logged in while accepting)
- Once seller accepts, a pass is sent to buyer (Note : Deal is not completed)
- In order to verify transaction & generate receipt, Seller should mark product as sold to a buyer by entering pass provided by him.
- If pass matches, transaction is confirmed, a receipt is generated & mailed to both parties and product shifts to History.