- Clone and install dependencies:
$ git clone https://github.com/oh-my-c0de/oh-my-fullstack.git ./my-fullstack && cd my-fullstack && yarn
- Run application in development mode:
$ yarn start
- Visit
localhost:3000
That's it! 😎
-
$ yarn start
- Start application in development mode. -
$ yarn prod:start
- Start application withPM2
. -
$ yarn prod:stop
- Stop application withPM2
. -
$ yarn prod:restart
- Restart application withPM2
. -
$ yarn build
- Make production build. -
$ yarn lint
- Check code linting.
To override configuration variables for local environment create .env
file in project root with needed variables. Example:
NODE_ENV=development
PORT=3000
To find used variables check configs/index.js
and server/config.js
.