Virtual Store Management for users (after authentication,) can register, change, delete or search for Stores, Products and stocks.
- ✔️ .NET >= 5.0;
- ✔️ In-Memory DB;
- ✔️ MVC;
- ✔️ SOLID;
- ✔️ Clean Code;
- ✔️ Inheritance and Polymorphism;
- ✔️ Entity Framework;
- ✔️ TDD;
- ✔️ DTOs.
Before starting the project, you will need the following tools:
How to run the project locally:
1. Open code's folder in VSCode;
2. Run the project in debug mode with IIS Express;
3. The application's Swagger will open;
4. API is protected by JWT token. The only endpoint released is the JWT. Run it and copy the generated token;
5. Click the authentication button (a padlock at the top of the swagger page);
6. In the required field, write Bearer + generated token. This will allow access to the endpoints.
- VirtualStoreApi - API Project, where contains the controllers, mappers, JWT config and enum.
- Application - The application layer, where it contains the interfaces of services, validators and utils profiles.
- Domain - Domain layer, where it contains the models, interfaces and DTO's.
- Infrastructure - Data layer, where it contains the Context (the class where we configure the SQLlite), mappings, repositories.
- Tests - TDD layer, where it contains tests and mocks for API, repositories and Application layer.
Lauany Reis da Silva:
- LinkedIn: https://www.linkedin.com/in/lauany-reis-da-silva/
- Github: https://github.com/Lawniet
Tutorial: criar uma API Web com o ASP.NET Core
C# de teste de unidade no .NET Core usando dotnet test e xUnit