This is a simple ecommerce to practice technologies.
Build server | Platform | Status |
---|---|---|
Travis | Linux / MacOS | |
Azure DevOps | Linux |
Technologies | Yes/No |
---|---|
ASP .NET Core | ✅ |
ASP .NET Core Mvc | ✅ |
Entity Framework Core | ✅ |
Identity Server 4 | ✅ |
Swagger UI | ✅ |
React + Typescript | ✅ |
Vue.js | ✅ |
Sql Server | ✅ |
PostgresQL | ❌ |
Blazor/Angular | ❌ |
You probally access to link to get more detail for common web application architectures
- Username: admin@mscoreone.com
- Password: P@ssw0rd
- Installed Docker on your computer
- At deployment folder
$ docker-compose -f docker-compose-infra.yml up
$ docker-compose build
$ docker-compose up
- Updating MSCOREONE_DB_HOST's value is ([your IP], 1433) in .env file. Ex. 192.168.131.97,1433
- Adding ([your IP] mscoreone-portal.local) in hosts file. Ex. 192.168.131.97 mscoreone-portal.local
- Front-office: Mscoreone - mvc
- Back-office: Mscoreone - react
- Swagger-api: Mscoreone - api
You need to some require external nuget packages. Install Converlet and FluentAssertions for your project using the following cli commands.
To get converlet to collect code coverage for your codebase, we need just to run the following command at the repository root.
dotnet test MsCoreOne.IntegrationTests.csproj /p:CollectCoverage=true /p:CoverletOutputFormat=\"opencover\" /p:CoverletOutput=BuildReports\Coverage\ /p:ExcludeByFile=\"**/Persistence/ApplicationDbContextSeed.cs\" /p:Exclude=\"[*]MsCoreOne.Infrastructure.Migrations.*,[*]MsCoreOne.Pages.*,[*]MsCoreOne.Areas.*\"
To testing with redis cache, you can install redis by the following way:
- Install manually redis from github repo and that download zip file that is compatible with your windows, extract the zip folder, and open up redis-server.exe
- Using docker to up redis by access to development folder then open powershell and that run command bellow.
docker-compose -f .\docker-compose-infra.yml up redis
Note: You should update your IP in appsetting for redis configuration to make sure mscoreone-api connect to redis server successfully.
Contributions, issues and feature requests are welcome!
Give a ⭐ if you like this project!