/merakiCourses-MVC_01

A node.js project to Implement meraki learn (courses) API with express in JSON.

Primary LanguageJavaScript

meraki API task 1

A node.js project to Implement meraki learn (courses) API with express in JSON.

Features

  • API endpoints availabe as per user need
  • CRUD on Courses data

Lesson Learned

  • CRUD operations with Json database locally
  • Fundamentals of express : FS modules, CRUD operations and middleware
  • Using the MVC (Model-View-Controller) architecture

Tech stacks

  • NodeJS - JS runtime environment
  • Express - The web framework used
  • Postman - API testing

Demo

Helpful commands

$ git clone https://github.com/<YOUR_GITHUB_USERNAME>/merakiCourses-MVC_01
$ cd merakiCourses-MVC_01
$ npm install
$ npm run start_dev(for development)

Optimizations

  • Arranged and grouped all the variables, functions, middleware as per bussiness rule.
  • Implemented MVC(Model-View-Controller) architecture
  • Proper organized module structure.

API Features

get All courses and add courses

http://127.0.0.1:3001/api/v1/courses

get, update,delete course with given id

http://127.0.0.1:3001/api/v1/courses/:id

Author

Pranav108