- Clone the repo and run
cd weatherapp
.
- Create a
.env
file in the root directory and complete the variables as mentioned in.env.example
, also in Dockerfiles of client and server and docker-compose.yml.
-
Run
cd client && npm install && npm run dev
to install the client dependencies and run the client. -
In a seperate terminal, run
cd server && npm install && npm start
to install the server dependencies and run the server.
Run docker-compose up --build
to build and run the app.