Skip to content

Latest commit

 

History

History
42 lines (36 loc) · 1.25 KB

README.md

File metadata and controls

42 lines (36 loc) · 1.25 KB

Back-End of the project "Planium"

Build Status

What we've done

  • Implemented the back-end REST API of the project using ASP.NET Core framework.
  • Used PostgreSQL and Entity Framework for data persistence.
  • Leveraged the MVC pattern for code structuring.
  • Collaborated in a team of 5 under Scrum methodology.

Prerequisites

ASP.NET Core

Postgresql

  • Installation
$ sudo dnf install postgresql-server postgresql-contrib
$ sudo systemctl enable postgresql
$ sudo systemctl start postgresql
$ sudo postgresql-setup --initdb --unit postgresql
  • Change password
$ sudo su
$ su - postgres
$ psql
postgres=# \password postgres
  • Change "ident" to "md5" in the config file
$ sudo vim /var/lib/pgsql/data/pg_hba.conf
# restart service
$ sudo systemctl restart postgresql.service

EF Core

$ dotnet ef database update