Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

johnotu/basic-node-webserver

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Basic nodejs web server

Whether I'm going through a tutorial or building a production app, I've often had to begin by creating a basic nodeJs webserver. So I decided to have it on Github with branches for additional packages and functions I can easily acess.

For now, the master branch will hold a basic express app with dotenv to load environment variables from a .env file.

Note: This is NOT the ideal. Something better may already be available if you look for them. I'm just trying to make one that has the config/settings and requirements I mostly use.

To use

Of course, this assumes you have node and npm on your machine.

In your terminal,

  • Clone repo git clone git@github.com:johnotu/basic-node-webserver.git
  • Install packages npm install
  • Launch server node index

About

My basic node webserver boilerplate

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Morty Proxy This is a proxified and sanitized view of the page, visit original site.