Learn Express.
Start:
npm start
# or
yarn start
Development:
npm run dev
# or
yarn dev
Endpoint | Method | Description |
---|---|---|
/ |
GET | Hello |
/users |
GET | List of Users |
/users |
POST | Create new user |
/users |
DELETE | Delete all users |
/users/:id |
DELETE | Delete one user by id |
/users/:id |
PUT | Update one user by id |