An open API service indexing awesome lists of open source software.

https://github.com/jarrodsampson/nodejs-express-server-setup

Basic Setup to run the server and routes.
https://github.com/jarrodsampson/nodejs-express-server-setup

expressjs node nodejs

Last synced: 2 months ago
JSON representation

Basic Setup to run the server and routes.

Awesome Lists containing this project

README

        

# NodeJS Express Server Setup
Basic Setup to run the server and routes.

[![Build Status](https://travis-ci.org/stevenbenner/jquery-powertip.svg?branch=master)](https://travis-ci.org/stevenbenner/jquery-powertip)
![Release Version](http://img.shields.io/github/release/stevenbenner/jquery-powertip.svg)
![License](https://img.shields.io/packagist/l/doctrine/orm.svg)

![Atom](https://raw.githubusercontent.com/planlodge/NodeJS-Express-Server-Setup/master/demo/recording.gif)

## Getting Started

### Installation
1. Install NodeJS on your system.
2. Verify and run npm -v to make sure the package manager is installed correctly.

### Express
Install Express through node package manager.

```npm install express -g ```

### Server.js
Save server.js in the root directory of the NodeJS directory.

Run with:

```node server.js ```
> Allow through your firewall to use this port.

### Browser
Navigate to http://localhost:8000


## License

This example is licensed under the [MIT license](http://opensource.org/licenses/MIT).