To repozytorium front-endowe dla zadania Polish Smog Alert
w ramach wyzwania hacktotherescue
.
Aby uruchomić to repozytorium, postępuj zgodnie z poniższymi krokami:
- Sklonuj repozytorium.
- Przejdź do katalogu z repozytorium.
- Wpisz
npm install
w terminalu. - Dodaj wymagane zmienne środowiskowe do pliku
.env
. - Uruchom
npm run dev
.
This is the front-end repository for the Polish Smog Alert
task in the hacktotherescue
challenge.
To run the repository, follow these steps:
- Clone the repository.
- Navigate to the repository directory.
- Type npm install in the terminal.
- Add the required environment variables to the .env file.
- Run npm run dev.
MONGODB_URI =
DB_NAME =
STATIONS_COLLECTION_NAME =
CITIES_COLLECTION_NAME =
NEXTAUTH_SECRET =
ADMIN_EMAIL =
ADMIN_PASSWORD =
OPENWEATHER_API_KEY =
NEXT_PUBLIC_API = "https://api-hacktotherescue.deliverky.com/graphql"
NEXT_PUBLIC_URL = "https://hack-to-rescue-hackathon.vercel.app/"
NEXTAUTH_URL = "https://hack-to-rescue-hackathon.vercel.app/"
Happy Hacking 🙊