Skip to content

johnotu/basic-node-webserver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

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 [email protected]: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

No packages published