REST API Example with Fastify (A fast and low overhead NodeJS framework)
For comparing performances of Fastify with Express - check this out
REST API with CRUD Functionalities built with Fastify
Endpoints -
Method | Endpoint | Description |
---|---|---|
GET | /users |
Get all Users |
GET | /users/:id |
Get single User with ID |
POST | /users |
Create a new User |
DELETE | /users/:id |
Delete User |
UPDATE | /users/:id |
Update User |
Run npm install
in the root
Run npm run start
to start the server