This project provides a RESTful API for managing blog articles, intended for use on https://yossy.dev/.
- Like functionality
- Rust: Programming language
- actix-web : Rust web framework
- Diesel: Rust ORM (Object-Relational Mapping) library
- SQLite: Database
- Clone the repository:
$ git clone [email protected]:yossydev/blog-api.git
- Navigate to the project directory:
$ cd blog-api
- Run the application
$ make up
- Api request
$ curl -X POST -H "Content-Type: application/json" -d '{"increment": 30}' http://localhost:8080/like/${slug}
- /likes: Like functionality
This project is licensed under the MIT License. See the LICENSE file for details.