ASP.NET Core backend + React frontend + Entity Framework Core + automated testing
Перейти к файлу
Abe-Froman 7246b8d69f
Merge pull request #69 from microsoft/feature/bc-update-readme-to-dos
Update readme To-Dos
2023-02-11 10:14:32 -08:00
.github Update codeql-analysis.yml 2022-08-12 15:46:24 -07:00
.vscode gitflow-feature: gt-docker-fixes (#16) 2020-09-22 10:24:09 -07:00
client Feature/gt update core (#62) 2022-08-12 15:38:51 -07:00
service Update dockerfile and add docker-compose.yaml 2022-08-26 16:02:58 -04:00
.dockerignore Updated to current conventions (#11) 2020-07-23 19:30:20 -07:00
.gitignore gitflow-feature: gt-docker-fixes (#16) 2020-09-22 10:24:09 -07:00
CODE_OF_CONDUCT.md Initial commit 2019-07-22 14:10:56 -07:00
LICENSE Initial commit 2019-07-22 14:10:57 -07:00
README.md Update readme to-dos 2022-10-13 14:11:39 -07:00
SECURITY.md Microsoft mandatory file 2022-05-23 20:00:40 +00:00
docker-compose.yml Update dockerfile and add docker-compose.yaml 2022-08-26 16:02:58 -04:00
dockerfile remove comment 2022-08-26 16:12:07 -04:00

README.md

Overview

Web app template by the Microsoft Devices Software Experiences team.

Client (front-end)

Service (back-end)

How to run locally

  1. Download and install the .NET Core SDK
  2. Open a terminal such as PowerShell, Command Prompt, or bash and navigate to the service folder
  3. Run the following dotnet commands:
dotnet build
dotnet run --project Microsoft.DSX.ProjectTemplate.API
  1. Open your browser to: https://localhost:44345/swagger.
  2. In another terminal, navigate to the client folder and run the following npm commands:
npm install
npm start
  1. The webpack dev server hosts the front-end and your browser will open to: http://localhost:3000

Adding an Entity Framework Core migration

  1. Open a command prompt in the Microsoft.DSX.ProjectTemplate.Data folder.
  2. dotnet tool install --global dotnet-ef
  3. dotnet ef migrations add <NAME OF MIGRATION>

Removing the latest Entity Framework Core migration

  1. Open a command prompt in the Microsoft.DSX.ProjectTemplate.Data folder.
  2. dotnet ef migrations remove

To-Do

Client

  • No current items

Service

  • Include Authentication and Authorization logic
  • Move away from localdb
  • Implement ApiConventions

Miscellaneous

  • Create a CLI setup wizard

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.

When you submit a pull request, a CLA bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.