Rest API in Node with SQLite. It is a basic blog Rest-API which has database table to store blog post data and categories and their relationships.
npm run start
To get list of all posts.
$ curl http://localhost:8080/posts
To get one single post.
$ curl http://localhost:8080/posts/1
To create a new post.
$ curl -X POST http://localhost:8080/posts -d '{"postTitle": "New Post Title", "postContent": "Hello World!!"}'
- Vishal Dodiya - vishaldodiya
This project is licensed under the MIT License