Skip to content

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.

License

Notifications You must be signed in to change notification settings

olor-io/olor-category-service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Olor-category-service

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.

Developer documentation

Configure local environment

Add environment variables to .env. Example config is found in .env-sample.

Setup database

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.

Install npm modules

While in project root, run npm install.

Development

During development you can use the npm start command to run the application. The application uses the parameters provided in .env.

API docs

URL HTTP Verb Action
/api/v1/category GET All categories
/api/v1/category/:id GET Category by a single Id

About

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.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published