- Node
- MongoDB
Clone repo and download dependencies:
npm install
Create a dev .env
file in the repo root like so:
NODE_ENV=development
PORT=8000
SESSION_SECRET=penguinmonkey
DB_PATH=mongodb://localhost/virtualOfficeDev
npm run all:build
npm run start
Access web app at http://localhost:8000/ (or whatever port you set in the .env).
Please see the package.json for all the build commands. The below list is a selected subset of those.
npm run server:build
npm run client:build
Build the server
npm run server:build
Run DB script
npm run db:reinit
Prettier
npm run all:prettier:check
ESLint
npm run all:lint