Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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)

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