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

https://github.com/muhand/nodejs-server

A basic structure for a node-js server
https://github.com/muhand/nodejs-server

Last synced: 10 months ago
JSON representation

A basic structure for a node-js server

Awesome Lists containing this project

README

          

# nodejs-server
A basic structure for a node-js server

## Installation
You need to make sure you have node v8.9.3 installed, install [nvm](https://github.com/creationix/nvm) and then install node v8.9.3
`nvm install v8.9.3`
and then
`nvm use v8.9.3`

Make sure to install [yarn](https://yarnpkg.com/en/)

Now, clone this repository onto your local disk and then run `yarn` this should take care of installing all the needed packages

Finally, run the server by typing `yarn dev` in the console.

**NOTE Look at the different scripts in [package.json](package.json) if you wish to run a different script.**