Skip to content

tkhadir/node_gateway_starter_kit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

a simple gateway nodejs starter kit 🚦

how to start server ?

  • npm install
  • npm run dev

https case

const https = require('https');
const fs = require('fs');

const options = {
  key: fs.readFileSync('key.pem'),
  cert: fs.readFileSync('cert.pem')
};

https.createServer(options, function (req, res) {
  res.writeHead(200);
  res.end("hello world\n");
}).listen(8000)

About

If you want create a gateway api to redirect trafic, you can use this starter kit to build your api using nodejs

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages