Create a REST endpoint with Node.js and Express.js. You will have a working UI component enabling CRUD functionality in minutes!
- Node.js (v10.13.0+) -> (Required) A Node version of this, or higher, is required.
- Node.js -> https://nodejs.org/en/
- Express.js -> https://expressjs.com/en/4x/api.html
-
Install the dependencies
npm install
-
Run the server with
npm run start
and visit http://localhost:8000/
The root UI is at http://localhost:8000/ and that file is templates/zinggrid.html
The TODO List API urls are:
- GET http://localhost:8000/todos
- POST http://localhost:8000/todos
- PUT http://localhost:8000/todos/:todoId
- PATCH http://localhost:8000/todos/:todoId
- GET http://localhost:8000/todos/:todoId
- DELETE http://localhost:8000/todos/:todoId
The TODO List API urls are: