Project Brief:An API for an e-commerce platform. This API contains a User(merchant) management system, Product management system, and an Identity Verification system(Authentication).
-
The product Schema contains details like; name, price, quantity, description, size
-
The User Schema contain details like, firstName, lastName, storeName, email, phoneNumber, password
-
Implemented CRUD functionalities for both Product and Users. Factoring in the following constraints into the User: No two users can have the same email Passwords must be hashed Passwords must not be less than 6 characters Emails must be in the correct email format All User fields are required
-
A user can only modify/delete the product they created
-
complete cart functionality
-
Implemented Login System for Users
-
Handled Validations with JOI
-
Used the MVC design pattern.