Skip to content

Latest commit

 

History

History
127 lines (75 loc) · 3.62 KB

README.md

File metadata and controls

127 lines (75 loc) · 3.62 KB

Market-IT

CS 546 Web Programing Goup Course Project

Program Structure

In public folder: css, client side javascript and images

In data folder: server side javascript and database operations

In views folder: handlebar layout

In routes folder: routers

In tasks folder: seed for database

#==============================================================================

Set up

open terminal/cmdprompt and go to the folder where you want to get the project

enter the command 'https://github.com/YvesHarrison/Market-IT.git'

Enter command 'npm install'

go to task folder and enter command 'node seed.js'

go to parent folder using command 'cd ..'

run the project with command 'node app'

you will get the messgae 'Your server is now listening on port 3000! Navigate to http://localhost:3000 to access it' and then you are good to go.

#==============================================================================

Get into the app

Click on Signup, fill up the form and get signed up. You will be directed to the login page.

Login with credentials you used for signup, you will be directed to products page

Add or post product add

Once logged in click on 'profile' on top right of your screen

Click on add product button

Fill in the details of product and upload an image of the post and submit the form

You will find your product being displayed on products page.

To check the list of the products that you posted click on 'profile' again. Below your details you will find all the products that you posted.

Edit posted product

Go to profile and find the list of products that you posted.

CLick on edit button of the product that you want to edit.

Fill up the required details and submit.

Delete an ad

Go to profile and find the list of products that you posted.

Click on the cross button of the product that you want to delete and your product is deleted.

Enquire about the product

On products page, find the ' view details' button under each product. Click on 'view details' button of the product that you want to enquire.

On redirected page click on 'Enquire' button.

On redirected page, enter the quantity you want, enter the message you want to send to the seller and hit 'send message'.

The seller will recieve an email that you want to buy product from him/her.

Comment on product

On products page, find the 'view details' button under each product. Click on 'view details' button of the product that you want to comment on.

Scroll to botton of the page and click on 'reviews' tab.

Enter your message and comment on the product.

Check enquired products

Go to 'profile' scroll down to find the list of products that you enquired.

Search for products

Go to 'products' page and find the search bar on top.

Enter your search query and hit 'Search'

Related products will be displayed on page.

Extras

At bottom of page clickon 'about us' to see who made the site.

At bottom of page click 'contact us' send a mail to the team

Share the site on facebook and twitter from bottom of the page or 'details' page of any product

#==============================================================================

Technologies used

Javascript, HTML, CSS: handle front end

NodeJS: Handle backend

Express: as a server

Passport: used for authentication

Blocs: building basic layout of site.

#==============================================================================

#Special Thanks to W3 School Stack overflow Prof. Patrick Hill Pranit Kulkarni (TA) Rob Herley (TA) Zoe Millard (TA) Vidya Maiyya

#==============================================================================

#Presenters Xinzhe Li Shreesh Chavan Sanchita Rastogi Hanfan Wang