This is API for Guestbook implemented with .net 6
In order to run the project first use need to run a Microsoft SQL Server get the connection string and change the exsisting connection string from appsettings.json
There are 6 Endpoints
- POST: register (for signup)
- POST: login (for login)
- POST: send (for sending a message)
- PUT: update (update message)
- DELETE: delete (delete message)
- POST: post (reply message)
Needed to be done next:
- Complete JWT Configurations.
- Check for identity of the issuer of update and delete messages.
- Check that email is unique in SignUp
- Complete More Scenarios for Unit Tests.
- Make a docker-compose for both database and backend.
Design Choices: For each feature (the endpoints are represented as controllers, Data Models as Models, dealing with Database with Services, Validate Inputs through validators