Web Api to keep track of things i do, more like a logging system side project. utilizes Repository with unit of work design patters
has authentication but it is there for fun, thought i wanted it but _nope!
don't care about secrets cause the API will live on my personal machine and will be only accessable via my local network.
for the API endpoints docs swagger has this covered just run it !
clone it
and then
docker-compose up
(it will take care of the secrets itsef)
- kills all running containers
docker kill $(docker ps -q)
- deletes all stopped containers
docker rm $(docker ps -a -q)
- deletes all images
docker rmi $(docker images -q)
otherwise do to initilize and set the secrets : - need to be in the same directory as the API
dotnet user-secrets init
dotnet user-secrets set "SQLSERVER:User" "sa"
dotnet user-secrets set "SQLSERVER:Pass" < whatever u want >
dotnet user-secrets set "jwtKey" <whatever u want >
things todo:
- document it then link to it here
- setup more endpoints
- test
- github actions
- make the relations better (need to learn more~!)
- workflow diagram
- draw ... i forgot what's it called xD
- health endpoint
- images instead of strings ya fool!!