This repository hosts the Vote Items application.
This application serves as a refined project demonstrating Clean Architecture design principles. It includes features such as a reverse proxy, testing, structured code organization, and Swagger documentation.
You can read about the design of this application in my Medium article.
-
Open your hosts file:
- On Linux or MacOS, the file is
/etc/hosts
. - On Windows, the file is
c:\Windows\System32\Drivers\etc\hosts
.
- On Linux or MacOS, the file is
-
Add the following line to the file:
127.0.0.1 krittawatcode.test
This will route any requests forkrittawatcode.test
to your local machine.
- Import the VOTE-ITEMS.postman_collection.json file into Postman.
- Set up your environment variables in Postman as needed.
- Use the imported collection to test the API endpoints.
- Run your Docker Compose file with docker-compose up.
- Call api login with default user
{Email: "admin@mtl.co.th", Password: "adminPassword"},
{Email: "krittawat@mercy.gg", Password: "userPassword"},
can be found at http://krittawatcode.test/swagger/index.html
it's such a fun run to do this!<3
sadly I cant finish everything I want to do but...
hopefully u guys have a mercy on me lol
... Im still working on it to make it purfect meow~!