111# rake-user-app-backend ## Development 1. Clone the repo locally 2. Checkout to the latest numbered branch (or you can use the branch `development` if in doubt): `git checkout 1.XX.XX` `git checkout development` 3. Install `moongoose-schema` as git submodule: `git submodule update --init` 4. Make sure that your Node.js version is 14.18.XX, switch to older version if necessary 5. Install dependencies in root folder (server app): `yarn install` 6. Install dependencies in folder `client` (front-end): `cd client && yarn install` 7. Install dependencies in folder `mongoose-schema` (database connection): `cd ../mongoose-schema && yarn install` 8. Ask coworkers for the working set of .env files or make your own from samples. - _For server app:_ place files `.env.test` and `.env.uat` in the folder `environment`. Samples can be found in `environment/environment.rar` - _For front-end app:_ place file `.env` in folder `client`. Sample is in `client/.env.sample` 9. Edit file `environment/config.js`. Change line 3 to `const env = "test";` to run on Development Server or to `const env = "uat";` to run on UAT Server 10. `yarn run start` - in root folder to start server 11. `yarn run start` - in client folder to start webpack 12. Make sure that app runs on ` http://localhost:9000/` 13. Create an account and login _(might take additional steps)_