Skip to content

Etevoldo/blog-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

What is this

Another roadmap.sh project, this one is a RESTful API, made with vanilla node HTTP functions, using mongoDB. The instructions on how to use it are pretty much explained there

How to run

  1. clone the repo
  2. install dependencies
npm i
  1. assuming you already have a mongodb account, create a cluster and create a credentials.js file inside src directory with the following template:
const connString = `<your cluster-connection-string>`;

module.exports = connString;
  1. start the application
npm start

Progress:

  • Create a new blog post
  • Update an existing blog post
  • Delete an existing blog post
  • Get a single blog post
  • Get all blog posts
  • Filter blog posts by a search term

Complete!

About

a blog api that can use both mariadb/mysql OR mongodb

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published