https://github.com/izzypt/pure_node
Developing pure node application without framework or libraries.
https://github.com/izzypt/pure_node
Last synced: 3 months ago
JSON representation
Developing pure node application without framework or libraries.
- Host: GitHub
- URL: https://github.com/izzypt/pure_node
- Owner: izzypt
- Created: 2022-10-14T10:20:22.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-10-19T10:10:27.000Z (over 3 years ago)
- Last Synced: 2025-03-04T15:48:01.744Z (over 1 year ago)
- Language: JavaScript
- Size: 18.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Pure Node
Developing node application without framework or libraries.
Built-in node modules:
## http
CreateServer() and listen() on a specific port
DOcs : https://nodejs.org/api/http.html#http
## https
https server with createServer() and listen() from https module.
Local certificate and key emmited with OPENSSL.
Docs : https://nodejs.org/api/https.html#https
```openssl req -newkey rsa:2048 -new -nodes -x509 -days 3650 -keyout key.pem cert.pem```
## url
To parse url's comiing from client requests, creating an object to acess multiple properties(path, query, etc...)
Docs : https://nodejs.org/api/url.html#url
## fs
Node filesystem module to write/read/update/delete.
DOcs : https://www.w3schools.com/nodejs/nodejs_filesystem.asp
## crypto
Node comes with built-in crypto which allow us to hash the passwords.
Docs: https://nodejs.org/en/knowledge/cryptography/how-to-use-crypto-module/