Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/saurabh0413/myindia-assignment
https://github.com/saurabh0413/myindia-assignment
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/saurabh0413/myindia-assignment
- Owner: saurabh0413
- Created: 2024-06-18T18:24:15.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-06-21T10:15:25.000Z (7 months ago)
- Last Synced: 2024-06-22T03:22:03.671Z (7 months ago)
- Language: JavaScript
- Homepage: https://myindia-assignment.onrender.com/api/v1
- Size: 55.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# myindia-assignment
Task Description:
Develop a scalable server-side application for an e-commerce platform, focusing on creating robust
APIs, integrating with third-party services, and ensuring secure and efficient data handling.1. ```Register: POST /api/v1/signup```
```
{
"name":"saurabh",
"email":"[email protected]",
"password":"saurabh"
}```
2. ```Login: POST /api/v1/signin```
```
{
"name":"saurabh",
"email":"[email protected]",
"password":"saurabh"
}```
3. ```get products: POST /api/v1/products```
4. ```create product: POST /api/v1/products```
```
{
"name":"iphone",
"description":"this is iphone 16",
"price":50000
}Need to add authorization token in header x-access-token
```
5. ```delete product: POST /api/v1/products/:id```
```
Need to add authorization token in header x-access-token
```
6. ```order : POST /api/v1/orders ```
7. ```order : delete /api/v1/orders/:id ```
8. ```order : get /api/v1/orders/:id ```
9. ```payments : POST /api/v1/payments ```