This is a complete, fully functional
API Restto implement on a blogging website withCRUD. It is capable of creating articles by associating images with them through a file upload system as well as the possibility of listing them through a search engine.
API Rest - Blog
- Functional API to download and deploy
- Using
MULTERlibrery andFSpackage from NodeJS to upload images and associate them with certain articles - Allowed extensions: .jpg | .jpeg | .png | .gift
- All with
CRUD system - Search for articles by title or content
ARTICLE
{
"id" : ObjectId(),
"title" : {
type: String,
unique: true,
required: true
},
"content" : {
type: String,
required: true
},
"date" : {
type: Date,
default: Date.now()
},
"image" : {
type: String,
default: default.jpg
}
}
