This is a project to learn how to build your own RESTful API from scratch using MongoDB and Mongoose
You'll be able to make a GET, POST, PUT, PATCH and DELETE requests
Example of GET request from 'localhost:3000/articles':
[
{
"_id": "6577aea87f0271a2b848cc4e",
"title": "REST",
"content": "REST is short for Representational State Transfer. It's an architectural style for designing APIs."
},
{
"_id": "6577af737f0271a2b848cc4f",
"title": "API",
"content": "API stands for Application Programming Interface. It is a set of subroutine definitions, communication protocols, and tools for building software."
},
{
"_id": "6577c2bfe23c4100160c3592",
"title": "DOM",
"content": "The Document Object Model is like an API for interacting with our HTML"
},
{
"_id": "6577ca5a2f53e63b4b4d99d1",
"title": "Bootstrap",
"content": "Bootstrap is the most popular CSS Framework for developing responsive and mobile-first websites.",
"__v": 0
}
]
Hope you enjoy it 🙃