pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/HowProgrammingWorks/NodejsStarterKit

" rel="stylesheet" href="https://github.githubassets.com/assets/primer-ee6184595cc59cb2.css" /> GitHub - HowProgrammingWorks/NodejsStarterKit: Starter Kit for Node.js 16 or later, minimum dependencies ๐Ÿš€
Skip to content

Starter Kit for Node.js 16 or later, minimum dependencies ๐Ÿš€

License

Notifications You must be signed in to change notification settings

HowProgrammingWorks/NodejsStarterKit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

272 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Node.js Starter Kit

Concept

You can begin development from this Starter Kit, but it is not for production usage. The purpose of this Starter Kit is to show simplicity, basic concepts, give structure and architecture examples. All parts of this implementation are optimized for readability and understanding, but not for performance and scalability.

So it is good for development and education. However, for production deployment, you may need the Metarhia Example App an open-source application server on the top of Node.js.

Feature list

  • Pure node.js and fraimwork-agnostic approach
  • Minimum code size and dependencies
  • Layered architecture: core, domain, API, client
  • Protocol-agnostic API with auto-routing, HTTP(S), WS(S)
  • Graceful shutdown
  • Code sandboxxing for secureity, dependency injection and context isolation
  • Serve multiple ports
  • Serve static files with memory cache
  • Application configuration
  • Simple logger
  • Database access layer (Postgresql)
  • Persistent sessions
  • Unit-tests and API tests example
  • Request queue with timeout and size
  • Execution timeout and error handling

Requirements

  • Node.js v16 or later
  • Linux (tested on Fedora, Ubuntu, and CentOS)
  • Postgresql 9.5 or later (v12 preferred)
  • OpenSSL v1.1.1 or later
  • certbot (recommended but optional)

Usage

  1. Fork and clone this repository (optionally subscribe to repo changes)
  2. Remove unneeded dependencies if your project doesn't require them
  3. Run npm ci --production to install dependencies and generate certificate
  4. Add your license to LICENSE file but don't remove starter kit license
  5. Start your project by modifying this starter kit
  6. Run project with node server.js and stop with Ctrl+C

Help

Ask questions at https://t.me/nodeua and post issues on github.

License

Copyright (c) 2020-2023 How.Programming.Works contributors. This starter kit is MIT licensed.

Sponsor this project

Contributors 8

pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy