This is a simple example of Node.js app from Pluralsight course: Play by Play: Building a Node Web API with Sam Artioli and John Papa.
- Open a command prompt in the project's root folder.
- Type:
npm install
.
-
Start MongoDB.
-
Start Redis.
-
Start all servers, using following commands:
node pig_server.js
node duck_server.js
node pet_server.js
-
Using Forever to start all 3 servers in 1 command prompt is recommended.
-
You can use nodemon to start node server for development.
- node-web-api by Sam Artioli.
- node-play-by-play by Sam Artioli.