generator-scaling-fullstack
v1.0.5
Published
Simple RESTful server designed for horizontal scalability, based on [MERN] MongoDb, Express, Redis, NodeJS.
Downloads
6
Maintainers
Readme
generator-scaling-fullstack
Simple RESTful server designed for horizontal scalability, based on [MERN] MongoDb, Express, Redis, NodeJS.
Installation
- Node >= 6.x.x (Recommended 8.x.x)
- Npm >= 3.x.x (Recommended 5.x.x)
- MongoDB >= 3.x.x
- Redis >= 3.x.x
First, install Yeoman and generator-scaling-fullstack using npm (we assume you have pre-installed node.js).
npm install -g yo
npm install -g generator-scaling-fullstack
- Mongodb: https://www.mongodb.com
- Redis: https://redis.io - Ubuntu (sudo apt-get install redis-server) - Mac (brew install redis)
Then generate your new project:
mkdir example-app
cd example-app
yo scaling-fullstack
Getting To Know Yeoman
- Yeoman has a heart of gold.
- Yeoman is a person with feelings and opinions, but is very easy to work with.
- Yeoman can be too opinionated at times but is easily convinced not to be.
- Feel free to learn more about Yeoman.
Start [Development]
npm start
Listen Server (default): http://localhost:8000 Listen Client (default): http://localhost:3000
Build
npm run build
output: server/dist
example: node server/dist/server/app.js
Test
npm test
License
MIT © Leonardo Rico