A URL shrtnr
- yarn
- redis
- MongoDB
It is assumed there is already a redis server running on localhost
# Install dependencies
yarn
cd client && yarn && cd ..
# Start development servers
yarn dev
# Install dependencies
yarn
cd client && yarn && cd ..
# Build and start production server
yarn start
docker-compose up
yarn lint
- Lint your code and automatically apply formatting fixesyarn dev
- Start both development serversyarn build
- Build project for production. Compiled code in build/ and client/build/yarn redis:start
- Start redis server using Dockeryarn redis:attach
- Attach to current running instance of redisyarn mongo:start
- Start mongo server using Dockeryarn mongo:attach
- Attach to current running instance of mongoyarn clean
- Remove temporary files