https://github.com/avivharuzi/angular-micro-frontends-weather-example
Weather web application using Angular and Nx with micro frontends
https://github.com/avivharuzi/angular-micro-frontends-weather-example
angular micro-frontends nodejs nx weatther
Last synced: about 2 months ago
JSON representation
Weather web application using Angular and Nx with micro frontends
- Host: GitHub
- URL: https://github.com/avivharuzi/angular-micro-frontends-weather-example
- Owner: avivharuzi
- License: mit
- Created: 2021-10-15T09:39:26.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-10-16T09:57:42.000Z (over 4 years ago)
- Last Synced: 2025-07-27T09:44:21.806Z (11 months ago)
- Topics: angular, micro-frontends, nodejs, nx, weatther
- Language: TypeScript
- Homepage:
- Size: 1.66 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# angular-micro-frontends-weather-example
Weather web application using Angular and Nx with micro frontends.

## How to Run Locally
### Update environment variables
1. Create `.env` file from `env.example` file
2. Update `WEATHER_API_OPEN_WEATHER_MAP_ACCESS_TOKEN` value to access token from [Weather API](https://openweathermap.org)
### Install packages
```shell
npm i
```
### Run in Development mode
```shell
# Will run weather app on localhost:4200 and forecast app on localhost:4201
npm run serve:weather-mfe
# Will run weather api on localhost:3333
npn run serve:weather-api
```
### Run in Production mode
```shell
npm run build:weather-mfe
npm run build:weather-api
# Will run on localhost:3333
npm run run:weather
# Will run on localhost:4200
npm run run:forecast
# Will run on localhost:4201
npm run run:weather-api
```
# License
[MIT](LICENSE)