A backend .NET repo for the Alpimi Planner
MIT License
A WEP API created in .NET for the Alpimi planner
Install SQL Server Developer
Launch View > Server Explorer
in Visual Studio, right click Data Connections
and Create New SQL Server Database
, provide your hostname as a server name and check Trust server certificate
After a successful connection, right click the database, select Properties
and copy the connection string
Create a .env
file inside the root of the project containing:
CONNECTION_STRING="put_connection_string_here"
dotnet tool install --global dotnet-ef
dotnet ef database update
Install CSharpier, go to Tools > Options > CSharpier > General
and change Reformat with CSharpier on Save
to True
. It will save you a lot of time
Remember to add a migration whenever an entity is changed:
dotnet ef migrations add MigrationName
dotnet ef database update