Coder Social home page Coder Social logo

guilhermecarra / nodejs-ecommerce Goto Github PK

View Code? Open in Web Editor NEW
15.0 2.0 13.0 5.04 MB

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

Shell 0.37% CSS 1.63% JavaScript 51.55% Pug 12.69% HTML 33.77%
ecommerce burger nodejs node-js express expressjs express-js mvc mvc-pattern

nodejs-ecommerce's Introduction

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

nodejs-ecommerce's People

Contributors

guilhermecarra avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

nodejs-ecommerce's Issues

Unable to run it on Amazon Linux 2023

For testing purposes, I am deploying this application on an EC2 instance. The SQL Server and Client packages are installed correctly. However, I am running into several issues. It would be great if the README could be updated with the instructions on how to deploy it on the cloud. Thank you

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.