Dynamically rendering a simple weather homepage using async JS
🖊️
Assignment
🐞
Report a Bug
🙋♂️
Request Feature
Your city's weather info, one click away, is just awaiting for you! Powered by OpenWeather API.
For Microverse based in these requirements.
- Async calls to external server
- Data Structures
- Object Oriented Programming
- Factory Functions
- Single Responsibility
- Tightly Coupled Objects
- Module Pattern
- ES6 syntax
- Export/import ES6+ notation
- Linters
- Next.js
- React
- TailwindCss
- Next.js-Create-App
- JS modules and ES6+ available for most browsers
- Connected an API using
async/await
- Sets
stickler
on the repo - Sets
eslint
rules
- Next.js
ESLint
yarn
vscode
with ESLint extension- Linux/GNU
- Love and Passion for code
yarn
1.22 +node
16.17.1 +- A Text Editor like VSCode
- A browser like Firefox or Chrome
> git clone https://github.com/Israel-Laguan/Weather-Report.git
> cd Weather-Report
> yarn install
> yarn dev
Then open http://localhost:3000/ to see the app.
yarn dev
Runs the app in the development mode. Open localhost:3000 to view it in the browser.
The page will reload if you make edits. You will also see any lint errors in the console.
yarn build
Generates an optimized version of your application for production. to prepareHTMLL
,CSS
,JS
This output is generated inside the /next folder.
Optionally you can run the linter and tests: yarn lint
Next gives you the best developer experience with all the features you need for production: hybrid static & server rendering, TypeScript support, smart bundling, route pre-fetching, and more. No config needed.
React is a JavaScript library for building user interfaces.
-
Component-Based: Build encapsulated components that manage their own state, then compose them to make complex UIs.
-
Declarative: React makes it painless to create interactive UIs. Design simple views for each state in your.
-
Learn Once, Write Anywhere: We don’t make assumptions about the rest of your technology stack, so you can develop new features in React without rewriting existing code.
Tailwind CSS is modern utility-first CSS framework. It provides many CSS rules, but these are purged when production builds. So developers do not worry about CSS asset size for performance optimization.
🤝 Contributions, issues and feature requests are welcome! Feel free to check the issues page.
Give a ⭐️ if you like this project!
📝 This project is licensed under the MIT
Feel free to fork this project and improve it