Skip to content

SimoSamaa/mvc-express-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Express.js Store Project

Overview

This is a simple web application built with Express.js that demonstrates the MVC (Model-View-Controller) architecture in JavaScript. The project simulates a store with features for adding, editing, and deleting products in the admin panel, as well as a shopping cart on the shop page. Instead of using a database, the project uses the fs module to store data locally JSON file.

Features

  • Admin Panel:

    • Add products with details
    • Edit existing products
    • Delete products
  • Shop Page:

    • Display products with details for users to browse
    • Add products to the shopping cart
  • Shopping Cart:

    • View and manage items in the cart

Getting Started

  1. Clone the repository:

    git clone https://github.com/SimoSamaa/mvc-express-js.git
    
  2. Install the dependencies:

    npm install
    
  3. Run the project:

    npm run serve
    
  4. Go to URL in your Browser add:

    localhost:2000

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published