Project built using C#, that allows functionalities like creating users, posts and comments.
This project was built as a university project. The code in this repository has lower quality than the code I usually write, but the goal here was to learn and practice C# and try out new Vue.js version. The project is mostly not tested. If you are interested in my other projects, you can check out my GitHub profile.
Following tools are required to run this project:
or:
Recommended tools:
The project is divided into three projects:
- SimpleBlog: Contains the API
- SimpleBlog.Web: Contains the web application written in Vue
- SimpleBlog.Tests: Contains API tests
Each project has its own README file with more information.
The project uses Microsoft SQL Server as database. The connection string is defined in the appsettings.json file. To run the project, you need to run the database server and create the database. The database name is defined in the connection string. For more information about migrations see API documentation.
You can also use the docker-compose.yml file to run the database server.
docker-compose up -d
The project used HttpOnly cookies to store the authentication token. The token is generated by Microsoft Identity. For more information see into the implementation.