Fullstack e-commerce application with products related to renewable energy.
Table of Contents
Fullstack application as project to school. E-commerce shop with products related to renewable energy.
Provides REST Api with which you can communicate with the MySQL database.
It's written in NestJS.
The API is generally RESTFULL and return results in JSON.
Major resource components supported by the API are:
- Products
- Categories
- Users
- Users Address
- Auth
API Features:
- Authentication (Passport JWT)
- Basic RBAC implementation
- Helmet
- CORS
These can be used alone like this
resource | description |
---|---|
Private POST /products |
Create product |
Public GET /products |
Get all products |
Private POST /products/upload |
Add image |
Public GET /products/{id} |
Get product by id |
Private PATCH /products/{id} |
Update product by id |
Private DELETE /products/{id} |
Delete product |
resource | description |
---|---|
Private POST /categories |
Create category |
Public GET /categories |
Get all categories |
Public GET /categories/{id} |
Get category by id |
resource | description |
---|---|
Private POST /users |
Create user |
Private GET /users/ |
Get all users |
Private GET /users/me |
Get user by id or email |
Private PATCH /users/{id} |
Update user by id |
Private DELETE /users/{id} |
Delete user by id |
resource | description |
---|---|
Private POST /users-address |
Create user address |
Private GET /users-address |
Get all user address |
Private GET /users-address/{id} |
Get user address by id |
Private POST /users-address/{id} |
Update user address by id |
Private DELETE /users-address/{id} |
Delete user address by id |
Private GET /users-address/{userId} |
Get user address by user id |
resource | description |
---|---|
Public POST /auth/login |
Login to service |
Angular application for users with admin dashboard to manage.
- Products by category
- Products overview
- Add/remove to shopping cart
- Notifications when add product to shopping cart
- Checkout
- Profile page
- Favourite products
- Orders
- Profile settings
- Sign In/Sign Up
- Add/remove products
- Product details (stats etc)
- Users list
- Orders manage