alanbaltabai / express-online-store

Online store in Node.js (Express.js)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Online store

HTML  CSS  JavaScript  Node.js  Express  MongoDB 

Table of contents

General info

The online-store created with MVC architecture, user/admin roles, authentication and authorization, online payment system, and REST API.

Technologies

  • Express.js (Node.js framework) version: 4.17.3
  • Mongoose (intermediate library between Express.js and MongoDB) version: 6.2.10
  • Multer (middleware for handling files in form) version: 1.4.4
  • Passport.js (authentication middleware) version: 0.5.2
  • Stripe (API for online payment processing) version: 8.220.0

Setup

To run this project (after downloading and installing the packages):

$ npm start

Overview

To authorize as admin, append /logadmin to the url. The username and password is — "admin" (I am aware I shouldn't store raw passwords like this).
After authorizing, to go to admin page, append /madmin to the url.

About

Online store in Node.js (Express.js)


Languages

Language:JavaScript 38.2%Language:EJS 37.8%Language:CSS 19.9%Language:HTML 4.1%