/simple-nodejs-server

Simple Node.js server with API proxy

Primary LanguageJavaScriptApache License 2.0Apache-2.0

Simple Node.js Server

Simple Node.js server with API proxy. It is intended for single page web applications that need to communicate with an API server.

More details are in the blog post Simple Node.js API Proxy.

How to use the code

  1. Clone the repository or use it as a template repository.
  2. Install Node.js v18 LTS or higher
  3. Run the project by npm start
  4. Adjust the code as needed in bin/index.js

License

Apache License, Version 2.0