Skip to content

stantheblan/Express-Node-Project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

[DEPRECIATED] PerScholas / Project 2

  • This is project 2, a fullstack Express app, as a student in the PerScholas Program w/ WCC

Application Function:

A virtual store using Express.

This example helps show:

  • Interaction between webpages
  • Interaction between DB and webpages

This application allows a user to simulate the purchase of an item from a shop that is connected to a database. Not only can the user purchase an item, they can add/edit/or remove items as well.

You can see my Express Coin Shop in action here:

Video of Express Shop

Here are a few screenshots of my shop:

  1. Main page index page

  2. Show page show item page

  3. Edit Page edit page

  4. New Page new page


How to Install Sample Express Shop locally:

  1. Fork and clone this repository to your machine
  2. Change into the new directory
  3. Run npm install:
npm install
  1. Create a .env file and setup your DB
  • Example of code below:
MONGO_URI=mongodb+srv://USERNAME:PASSWORD@DB_NAME.demfm.mongodb.net/CLUSER_NAME?retryWrites=true&w=majority
PORT=3000
  1. Open a Terminal and seed the database:
node .\seed.js
  1. Run nodemon
nodemon
  1. Finally, open a browser window, and navigate to http://localhost:3000/products

You're all set to run this sample shop on your machine.

Technologies Used for this project:

  • HTML5
  • CSS3
  • Javascript
  • Express.js
  • Mongoose and MongoDB
  • Heroku

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published