GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - impactbyte-learn/code-expressjs: Learn Express.js

BranchesTags
Open more actions menu

Latest commit

 

History

32 Commits
32 Commits

Folders and files

NameName
Last commit message
Last commit date
.vscode
.vscode
 
 
controllers
controllers
 
 
data
data
 
 
test
test
 
 
todos
todos
 
 
.gitignore
.gitignore
 
 
.nvmrc
.nvmrc
 
 
.travis.yml
.travis.yml
 
 
README.md
README.md
 
 
index.js
index.js
 
 
package.json
package.json
 
 
yarn.lock
yarn.lock
 
 

Repository files navigation

Learn Express.js

Greenkeeper badge

Features

  1. Get all todos
  2. Save new todo

REST API Specification

  • REST = Representational State Transfer, between request and response.
  • RESTful API = Conform with REST API convention

Good example:

Endpoint HTTP Description
/todos GET Get all todo list
/todos/:id GET Get one todo
/todos POST Save new todo
/todos DELETE Remove all todo list
/todos/:id DELETE Remove one todo
/todos/:id PUT Update one todo
/todos?search GET Search todo

Bad example:

Endpoint HTTP Description
/todos/display GET Get all todo list
/todos/display/:id GET Get one todo
/todos/save GET Save new todo
/todos/delete GET Delete all todo

Development

npm install
npm run dev

Production

npm run start

About

Learn Express.js

Topics

expressexpressjsnodejs

Resources

Readme
Activity
Custom properties

Stars

2 stars

Watchers

3 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.