https://github.com/peterdee/weather-frontend
A frontend for the Weather project
https://github.com/peterdee/weather-frontend
frontend moleculer react typescipt
Last synced: about 2 months ago
JSON representation
A frontend for the Weather project
- Host: GitHub
- URL: https://github.com/peterdee/weather-frontend
- Owner: peterdee
- Created: 2020-04-24T22:59:05.000Z (about 6 years ago)
- Default Branch: stage
- Last Pushed: 2020-07-07T09:36:38.000Z (almost 6 years ago)
- Last Synced: 2025-03-14T16:49:12.154Z (over 1 year ago)
- Topics: frontend, moleculer, react, typescipt
- Language: TypeScript
- Homepage: https://weather-frontend-react.herokuapp.com
- Size: 411 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## weather-frontend
[](https://travis-ci.com/peterdee/weather-frontend)
A frontend for the Moleculer projects!
MetaWeather microservice: https://github.com/peterdee/moleculer-metaweather
Database microservice: https://github.com/peterdee/moleculer-database
DEV: http://localhost:3000
STAGE: https://weather-frontend-react.herokuapp.com
### Deploy
```shell script
git clone https://github.com/peterdee/weather-frontend
cd ./weather-frontend
nvm use 14.3.0
yarn install
```
### Environemnt
You should provide the `.env` file for the environment variables.
See the [`.env.example`](.env.example) for details.
### Launch
```shell script
yarn dev
```
### Build
```shell script
yarn build
```
### Serve static
```shell script
yarn build && yarn start
```
### Heroku
The `stage` branch is deployed to Heroku automatically.