Skip to main content

Command Palette

Search for a command to run...

Backend Class 3

Published
โ€ข1 min readโ€ขView as Markdown

Love Babber (BD-3)

Creating Routes and doing funcnalitiy in the controller folder.

Follow some steps of Creating (put, delete, get) router

  • Create (getTodo , putTodo, deleteTodo) files in Controller folder

  • See all the examples ๐Ÿ‘‡

getTodo.js folder code

Get data by Id name

updateTodo.js file code

deleteTodo.js file code

todos.js file code (where we define all the router's paths)