/back-end

This is a student-supervisor online platform and is done for the System Analysis and Design course. The main objective of this project is to implement OO best practices and clean architecture using ASP.NET Core.

Primary LanguageC#

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