A tool to manage money between friends.
- setup linters and basic dev environment for server
- setup webpack and automatic build tools for server
- server side logger
- look into server-side debuggers
- plan out API-endpoint and necessary database tables
- re-organize backend code into folder & debate if front-end should be in it's own repository
- separate build scripts for nativeIOS|Android|backend and then automatic upload into AWS
- setup Redux with React Native
- setup mocha tests
- docker
- travis CI
nvm --version 0.33.8
node -v v8.9.4
npm -v 4.6.1
simply run yarn
inside root directory
$ sh ./tools/make.sh
yarn start
: start server in dev mode, with automatic server refresh
yarn build
: build to /build
folder
append --env.OPTION
after yarn xxx
command
ex. yarn start --env.release
--env.release
note: production option does not start the server
--env.verbose
enables 'silly' level logging
--env.port=PORTNUM
default port is 3000
--env.buildonly
only produces the bundle file without starting server
- Config necessary environment variables:
DEV_DB_HOST=localhost
DEV_DB_USER=root
DEV_DB_PASS='...'