mirror of
https://github.com/maxpeterkaya/capstone_project1.git
synced 2026-06-02 17:16:51 -04:00
No description
- TypeScript 88.9%
- JavaScript 4.6%
- Dockerfile 3.1%
- HTML 2.4%
- CSS 1%
| .github/workflows | ||
| public | ||
| src | ||
| .dockerignore | ||
| .gitignore | ||
| commit_test | ||
| Dockerfile | ||
| eslint.config.js | ||
| index.html | ||
| package.json | ||
| pnpm-lock.yaml | ||
| README.md | ||
| tailwind.config.js | ||
| tsconfig.app.json | ||
| tsconfig.json | ||
| tsconfig.node.json | ||
| vite.config.ts | ||
Capstone Project 1
Fetch current weather forecast in any US city of up to 7 days in advance, with the default being Huntsville Alabama where the largest NASA center is located!
Setup instructions
- Clone the repo using
git clone https://github.com/maxpeterkaya/capstone_project1. - Install all dependencies by running
pnpm i, ornpm installif you're just using npm. - Run the project by executing
npm run dev.
APIs Used
The API that is being utilized is open-meteo.
https://api.open-meteo.com/v1/forecastis used for retrieving weather data based on coordinate location.https://geocoding-api.open-meteo.com/v1/searchis used to retrieve the coordinates of a user-input city in the US. The API supports a number of other countries but due to project simplicity I chose to avoid the extra user-input for ease of use.
Challenges
Designing the flow of elements and trying to organize everything neatly to look polished. I've usually always had luck
with setting dark mode through the dark class with TailwindCSS but it just wouldn't work at all, maybe because this
time I'm not using a component library.
Live Demo
A live demo of this project can be viewed at project1.maxkaya.com.