This is the repository for the Entity Framework Core assignment of Codecool
The sole purpose of this repository is to practice the fundamentals of the .NET Core Entity Framework via a lightweight website
To run the application you have to do the following:
- Connect an empty database to the IDE
- In the project root folder
(~Blog/.)
create a file namedconnection.env
- In the
connection.env
file type the following:HOST = Your host DATABASE = The name of your database USERNAME = Username for the database you attached to the application PASSWORD = Password for the user
- Fill the required attributes in the
connection.env
file - Run the SQL file on your database that you can find at
~/Blog/Data/Resources/database_config.sql
- After these steps you are able to run properly the application and the database will be filled with data