Skip to content

Final project for John bryce in angular, using MongoDB and NodeJs. Virtual shopping website with list of products and shopping cart, verification of login and register for users. Some functionalities are not fully implemented.

Notifications You must be signed in to change notification settings

HeroicMuffin/Angular-Shopping-Store

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Online Shop in Angular Project - Peleg ohanuna

Description

Final project for John bryce in angular, using MongoDB and NodeJs. Virtual shopping website with list of products and shopping cart, verification of login and register for users. Some functionalities are not fully implemented.

How to run locally

  • clone this repository
  • Development

Api Server

Server End Points:

  • GET /api/users/getAllUsers - retrieve all registered users
  • POST /api/users/verify - verify user's token and allowed access to certain components
  • POST /api/users/register - registers a new user in the database
  • POST /api/users/login - verifies user's credentials and allows access
  • GET /api/users/products - retrieves all products in the database
  • POST /api/users/addProduct - adds a new product to the database
  • POST /api/users/editProduct - edit an existing product with new values

Database modelling

-Product model

id productName category price picture
Objectid() String String Int String

-User model

id email password city street name lastName role shipments
String String String String String String String String Array

Angular-Shopping-Store

About

Final project for John bryce in angular, using MongoDB and NodeJs. Virtual shopping website with list of products and shopping cart, verification of login and register for users. Some functionalities are not fully implemented.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published