Backend API used to manage and send category icons to olor. Works mainly as a relay backend service, sending data and icons to other microservices.
Add environment variables to .env. Example config is found in .env-sample.
The application requires a PostgreSQL database to function.
While in project root, run psql -f ./src/init-database.sql to create a new database.
Please make sure that you don't have database called categories on your system.
While in project root, run npm install.
During development you can use the npm start command to run the application.
The application uses the parameters provided in .env.
| URL | HTTP Verb | Action |
|---|---|---|
| /api/v1/category | GET | All categories |
| /api/v1/category/:id | GET | Category by a single Id |