This project was generated with Angular CLI version 17.0.8, with the option to disable standalone components applied using the following command: ng new --no-standalone
.
The objective of this project is to create an app that consumes the API provided by OpenWeatherMap.
To run the project, you will need to create an account on OpenWeatherMap and generate an API key. Note that it can take up to a day for the key to become active.
- Go to OpenWeatherMap Sign-Up Page.
- Create an account by filling in the required details.
- Once your account is verified, log in and go to the API keys section under your account settings.
- Generate a new API key and use it in your project.
After obtaining the API key, you need to add the key on environment.mock.ts.
npm install @fortawesome/fontawesome-svg-core
npm install @fortawesome/free-solid-svg-icons
npm install @fortawesome/[email protected]
- Clone this repository:
git clone <repository-url>
- Navigate to the project directory:
cd <project-folder>
- Install the dependencies:
npm install
- Start the development server:
npm start
Navigate to http://localhost:4200/
in your browser to see the application. The application will automatically reload if you change any of the source files.
Note: Ensure you have an updated version of Node.js installed on your machine. You can verify your Node.js version with:
node -v