YL is a clothing store. User can sign up and sign in, filter the store by item name or item price if the filter is not found user will get no results. Add an item to the basket or delete it. Admin user can do CRUD on items. Enjoy shopping!
Clone the project
git clone
Go to the project directory
cd clothingStore
Install dependencies
npm i
Start the server
npm run dev
Start the client
npm serve
Client: Angular Server: Node, Express DB: MongoDB
POST /user/signUp
Fields | Type |
---|---|
UserName |
string |
Email |
string |
Password |
string |
IsAdmin |
boolean |
POST /user/signIn
Fields | Type |
---|---|
Email |
string |
Password |
string |
GET /item/getAllItems
GET /item/getItem/${id}
Parameter | Type | Description |
---|---|---|
id |
string |
Required. Id of item to fetch |
POST /item/addItem
Fields | Type |
---|---|
Image |
string |
Title |
string |
Description |
string |
Price |
string |
GET /item/updateItem/${id}
Parameter | Type |
---|---|
id |
string |
GET /item/deleteItem/${id}
Parameter | Type |
---|---|
id |
string |
Me ๐ผ