The note-taking service was developed for the purposes of practice at Blazor
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
You need to install PostgreSQL Server locally or use next Docker command to run container which will be available on port 5432 (if you have postgres locally installed, it is better to reassign container to another free port).
docker run --name NoteAppDb -p 5432:5432 -e POSTGRES_PASSWORD=yoursecretpassword -d postgres
Go to the WebUI.Server project folder and run user-secrets manager to set your connection string.
cd .\src\NotesApp.WebUI.Server\
dotnet user-secrets init
dotnet user-secrets set "ConnectionStrings:DefaultConnection" "Host=localhost; Port=5432; Database=NotesApp; Username=postgres; Password=yoursecretpassword"
And to run project you need go with next command in same folder (remove "watch" while not developing).
dotnet watch run .\NotesApp.WebUI.Server.csproj
- Blazor - Full-stack Web Framework
- PostgreSQL - Database
- Clean Architecture - Architecture