So here it is, after such a long time. Sorry for the delay (it was all because of life's perturbations), again. Code is a bit messy 'cause at the beginning I wanted to use Tailwind (it was good opportunity to learn it), but later I decided to rewrite it using no external CSS/JS librariers and frameworks. Oh, I used normalize.css, but in my opinion it's must have :P I also configured prettier together with husky.
App's name is inspired by absolutely awesome old movie titled "Fiddler on the Roof" (which is one of my all-time favourites). There's song titled "Sunrise, Sunset", but this name would be too long and also it's not so creative. BUT there's another song "Anatevka" and it's name of the village where the movie takes place. Ta daa 🎉
As I said at the job interview in both previous and current work I wasn't writing a tests and looks like I must refresh my memory. That's why I'll add the tests (probably) in the evening, but I don't want to pretend I have super-duper knowledge in matter of writing tests.
This project was generated with Angular CLI version 13.3.3.
Obtain your api key on https://home.openweathermap.org/api_keys and copy it to openWeatherMapApiKey in your environment file. It could take some time (even half an hour) to activate.
Run ng serve
for a dev server. Navigate to http://localhost:4200/
. The application will automatically reload if you change any of the source files.
Run ng generate component component-name
to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module
.
Run ng build
to build the project. The build artifacts will be stored in the dist/
directory.
Run ng test
to execute the unit tests via Karma.
Run ng e2e
to execute the end-to-end tests via a platform of your choice. To use this command, you need to first add a package that implements end-to-end testing capabilities.
To get more help on the Angular CLI use ng help
or go check out the Angular CLI Overview and Command Reference page.