This service contains:
- Get Article By Id API
http://localhost:9100/article?id=###
- Get List Article API
http://localhost:9100/articles?offset=0&limit=10&search=###&author=###
- Insert Article API
http://localhost:9100/articles
This service uses Go, gRPC, and PostgreSQL. I assume that you have everything installed on your local machine.
- Clone this repository.
- Import .sql file from database folder into your local machine PostgreSQL database.
- Use
make
commands to run services. - If you are using Postman to test an API, refer to postman folder to get sample request or import .json file into your Postman collection.