This is a simple weather application that uses the Meteo.lt and Open-Meteo API to get the weather data for a given city.
Currently supported cities:
- Vilnius
- Kaunas
- Klaipeda
Visit http://weather.rytis-projects.lt to check out project
- Clone the repository
- Run (first time):
make build
- Migrate database:
make migration_up
- Run the application:
make run
- Open the browser and go to http://127.0.0.1:8080
Migrations:
make migration_generate
- Create new migration filemake migration_up
- Run migrationsmake migration_down
- Rollback migrations
Run:
make run_air
- Run the application with hot reloadmake run
- Run the application
Swagger:
make swagger
- Generate swagger documentation
- Go
- Docker
- Docker-compose
- Postgres
- Gorilla Mux
- Gorm
- Cron/V3
- Add tests