Install Node/NPM https://nodejs.org/en/
Install yarn https://classic.yarnpkg.com/lang/en/docs/install/
Install Docker https://www.docker.com/products/docker-desktop/
- Having installed above prerequisites, please clone our repository using Git. Front- and backend are contained in one GitHub repository, which can be found here. To clone the repository, open a Terminal on your computer and navigate to the desired location in your file system. Then run the following command:
git clone https://github.com/fneumeyer/aircare.git
- To install all dependencies in the front- and backend, navigate to the root folder of the repository and run
yarn install
- Remain in the repository’s root and run the following command to start a MongoDB sever in a docker container:
docker-compose up --detach
- If the backend types that are shared with the frontend change or have never been built, the following command needs to be run inside the backend project before starting the frontend (backend/lib folder should exist!):
yarn compile
- To run both backend and frontend, simply run:
yarn start
- A browser window opens, and you get redirected to the application’s login page. Congrats!