Simple Blog Back Save

Back-End for Simple Blog

Project README

Back-End for Simple Blog

You could find the front-end here.

all text

Requirements:

  • .NET Core 2+
  • PostgreSQL(connection string specified in Blog.API/appsettings.json)

Technologies

  • ASP.NET Core
  • Entity Framework

Example of how to create a database user

sudo -i -u postgres
psql
create user blogadmin;
alter user blogadmin with password 'blogadmin';
alter user blogadmin createdb;

Run locally

git clone https://github.com/RodionChachura/simple-blog-back
cd simple-blog-back
cd Blog.API
dotnet ef database update
# if you want to populate the database with mock data
# start
cd ..
cd Blog.Mocker
dotnet run
cd ..
cd Blog.API
# end
dotnet run 

Blog post

License

MIT © RodionChachura

Open Source Agenda is not affiliated with "Simple Blog Back" Project. README Source: radzionc/simple-blog-back
Stars
40
Open Issues
0
Last Commit
3 years ago

Open Source Agenda Badge

Open Source Agenda Rating