Skip to content

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

API REST - BLOG · PRs Welcome

BLOG

This is a complete, fully functional API Rest to implement on a blogging website with CRUD. 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.

SUMMARY

API Rest - Blog

  • Functional API to download and deploy
  • Using MULTER librery and FS package 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

MODELS

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
  }
}

About

A complete fully functional API Rest to implement on a website specialized in blogs or articles

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages