Web forum API with simple CRUD operations, SQL Server and Docker.
So far, this API stands users on any permission , as long as it's logged in.
Tecnologies:
- .NETCORE 3.1
- Entityframework
- Docker
- SQL Server
- JwtToken
- Swagger
- Xunit
Warning : You should have Docker running on your computer first
-
Clone the project:
https://github.com/IovanB/webforum.git
-
Through prompt command go to folder webforum\WebForum where the docker-compose.yml file is. Then type
docker-compose up -d --build
-
Check with the command
docker ps
which port the swagger is up. Then type localhost:{port shown on the prompt line} -
You can also run the API on Visual Studio
- You first need to create an User in order to use the API
- Log in with your new user
- Take the Jwt Bearer Token, click on the Authorize button on your upper-left, then type bearer YOURTOKEN
- This API works on the following scheme
- Category
- Topic
- Post
- Comment
- This API comes with Xunit test.
- User permissions
- Password cryptography
- DTO
- Integration test