Built with .NET Core 7 and PostgreSQL. Link to deployment here
Minimum Web API project built as an ECommerce Platform with 6 main entities:
- User
- Product
- Order
- OrderItem
- Review
- Category
The authentication is built from scratch with email and password instead of using IdentityManager class.
Ths project makes use of Policy-based and resource-based authorization
Make sure you have dotnet
and dotnet ef
CLI in your local machine
- Clone the project to your local machine
- Create file
appSettings.json
, see example fromexample.appSettings.json
- Restore all the dependencies
dotnet restore
- Create a local PostgreSQL database, according to your connection string in
appSettings.json
- Run migration
dotnet ef migrations add your-migration-name
- Update database
dotnet ef database update
- Run project with
dotnet run
or watch modedotnet watch