Skip to content
/ nanatsu Public template

.net 7 template with postgresql and dapper for database

License

Notifications You must be signed in to change notification settings

motherfogger/nanatsu

Repository files navigation

nanatsu

.net 7 template with postgresql and dapper for database



create database

sudo -u postgres psql
postgres=# create database db1;
postgres=# create user admin with encrypted password 'admin';
postgres=# grant all privileges on database db1 to admin;

optional: check DB activity, pool, etc, run as SQL

SELECT * FROM pg_stat_activity;

build and run

dotnet run

visit http://localhost:5238/index.html to see the swagger API available

About

.net 7 template with postgresql and dapper for database

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published