Skip to content

Web MVC application using node.js, mysql and related technologies like express.js. It consists of a client facing web application that users can connect to in order to see the products being sold and make purchases, a dashboard frontend application that the employees can use to perform CRUD operations

Notifications You must be signed in to change notification settings

GuilhermeCarra/nodejs-ecommerce

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

82 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

e-commerce with Node.js (MVC Pattern)


Overview

This project is focused in develop a Web MVC application using node.js, mysql and related technologies. It consists of a client facing web application that users can connect to in order to see the products being sold and make purchases, a dashboard frontend application that the employees can use to perform CRUD operations on the product catalog of the application, and a backend server that will be used to host api endpoints and the database to store all the information.

Screenshots

img

Getting Started

After cloning this repository, excute the folowing commands to test it:

  • Installing dependencies:
npm install
  • Configure your .env file:
Based on the file ".env.example"
  • Creating a database:
mysql > create database "name in your .env file"
  • Populating the database:
npm run database
  • Starting the server (on port specified in the .env file):
npm run node

Credentials

The "database script" populates some users on DB with different roles. Use the following examples:

  • Regular user
email: [email protected]
password: 123456
  • Employee
email: [email protected]
password: 123456
  • Admin
email: [email protected]
password: 123456

Author

About

Web MVC application using node.js, mysql and related technologies like express.js. It consists of a client facing web application that users can connect to in order to see the products being sold and make purchases, a dashboard frontend application that the employees can use to perform CRUD operations

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published