Please take a look at System Design
- Docker
- Docker compose
- Build docker images using (Only first time)
docker-compose build
- Running docker containers using
docker-compose up
- Build docker images using:
docker-compose -f docker-compose.production.yml build
- Running docker containers using:
docker-compose -f docker-compose.production.yml up
In case your docker environment has something wrong, just start 2 project in 2 different terminal tabs. As default, client will run at http://localhost:3000 and backend service will run at http://localhost:3001.
- Start Client
cd day-weather-forecast
yarn instal
yarn start
- Start backend
cd weather-service
yarn instal
yarn start
- See Front-end docs for more development detail.
- Visit http://localhost:3000 to see the page
- Suggestion city
- Show 6 days weather forecast
- Desktop
- Mobile
- Ipad
- Ipad pro
- See Back-end docs for more development detail.
- Visit http://localhost:3001/docs to see the api contract