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
- Host: GitHub
- URL: https://github.com/muhand/nodejs-server
- Owner: Muhand
- License: mit
- Created: 2018-01-31T15:43:53.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-02-01T23:20:00.000Z (almost 8 years ago)
- Last Synced: 2025-01-22T02:41:52.065Z (11 months ago)
- Language: JavaScript
- Size: 76.2 KB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.**