- Git clone this repository
- Start the Back-End project with the command
dotnet run --project .\e-commerce\ - Start the Angular server with this command
cd .\front\src\app\ | ng serve --o.
If you are already in the app folder, just typeng serve --o
- E-commerce for API (Controllers)
- E-commerce.Business for Business Layer (Services)
- E-commerce.Data for Data Layer (Repositories)
- Angular using Typescript to create Module, Services and Components
- Customize Components Templates with HTML & SCSS
classDiagram
User --|> Reviews
User --|> Wish
User --|> Rate
User --|> ShoppingCart
Product <|-- Category
Product <|-- ProductList
ShoppingCart <|-- ProductList
Reviews <|-- Product
Rate <|-- Product
Wish <|-- Product
Sale <|-- Product
Sale <|-- User
class Sale{
int Id
int ProductId
int UserId
string ActivationCode
dateOnly Date
}
class Wish{
int Id
int ProductId
int UserId
}
class Product{
int Id
string ImagePath
string Name
float Price
int Quantity
int CategoryId
}
class Rate{
int Id
int Value
int ProductId
int UserId
}
class ProductList{
int Id
int ProductId
int ShoppingCartId
}
class ShoppingCart{
int Id
int UserId
}
class Category{
int Id
string CategoryName
}
class User{
int Id
string Firstname
string Lastname
string Pseudo
string Email
string Password
DateTime Birthdate
double Money
}
class Reviews{
int Id
string Title
string Description
int Rate
int ProductId
int UserId
}
class Admin{
int Id
string Pseudo
string Email
string Password
int Permission
}