Awesome
Full stack web application skeleton
Getting started
- 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! :sunglasses:
Scripts
-
$ 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.
Local environment configuration
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
.