Skip to content

This is a template for creating a simple express js server using node

Notifications You must be signed in to change notification settings

SoorajSNBlaze333/node-express-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Node Express Server

Setup and Run the server

  1. Fork from the repository or click use this template.
  2. Install nodemon globally by using
npm i -g nodemon

nodemon is just a monitor script that detects changes in your server code and rebuilds it automatically.

  1. Install all the dependencies by using
npm i
  1. Run the server script by using
npm run start

start script can be modified in the package.json file. By default it executes nodemon server.js.

  1. You can also manually run nodemon server.js on your terminal to get the same result.

  2. The server will open on http://localhost:8000 by default. You can change the port number in the server.js file. By default it is

const port = 8000;

About

This is a template for creating a simple express js server using node

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published