Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/morzhanov/nodejs-net-http-example
NodeJS HTTP server examples (using core net module)
https://github.com/morzhanov/nodejs-net-http-example
Last synced: 5 days ago
JSON representation
NodeJS HTTP server examples (using core net module)
- Host: GitHub
- URL: https://github.com/morzhanov/nodejs-net-http-example
- Owner: morzhanov
- Created: 2020-11-20T14:06:14.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2020-11-22T19:17:42.000Z (about 4 years ago)
- Last Synced: 2024-11-08T00:52:36.667Z (about 2 months ago)
- Language: TypeScript
- Size: 18.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# nodejs-net-http-example
Simple NodeJS HTTP server examples (using core net module)
## To start app run
```bash
npm run start
```Application accepts connections on 127.0.0.1:8000
## Description
Example Users CRUD app using NodeJS `net` module.
Endpoints:
- `POST /users` - create a user
- `GET /users` - get all users
- `GET /users/{userId}` = get a single user
- `DELETE /users/{userId}` - delete user
- `PUT /users/{userId}` - update user