8000 GitHub - Purengugi/pawaweatherapp: Pawa Weather App: A full-stack weather application with Laravel backend and Next.js frontend
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Purengugi/pawaweatherapp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 

Repository files navigation

🌦️ PawaWeatherApp

PawaWeatherApp is a sleek, responsive, and modern weather forecast application that allows users to search any city worldwide and view real-time weather conditions — all wrapped in a beautiful interface powered by Next.js, TailwindCSS, and RippleUI.


🚀 Features

  • 🔍 Search City Weather — Enter any city and instantly get weather updates
  • 🌡️ Live Weather Data — Current temperature, weather status, humidity, and wind speed
  • 🎨 Stylish UI — Clean, elegant design using TailwindCSS and RippleUI components
  • Fast & Responsive — Powered by Next.js (App Router) and optimized API calls
  • 🤝 Connected Backend — Laravel backend API for secure weather data management

🛠️ Tech Stack

Frontend Backend Styling Deployment
Next.js 14+ (App Router) Laravel 11 TailwindCSS + RippleUI Vercel / Laravel Forge
React REST API PostCSS + Autoprefixer Netlify (optional)

Setup & Installation

1️⃣ Clone the Repository

git clone https://github.com/Purengugi/pawaweatherapp.git

cd pawaweatherapp

2️⃣ Backend (Laravel API)

cd backend

composer install

cp .env.example .env

php artisan key:generate

Configure .env (set WEATHER_API_KEY, DB details)

php artisan migrate

php artisan serve

Your Laravel API should now be running on http://127.0.0.1:8000

3️⃣ Frontend (Next.js)

cd ../frontend

npm install

Initialize Tailwind:

npx tailwindcss init -p

Run frontend:

npm run dev

Your app runs at http://localhost:3000


🌐 Environment Variables

  • Backend .env

  • WEATHER_API_KEY=your_openweather_api_key

  • Frontend .env.local (optional if calling API directly)

  • NEXT_PUBLIC_API_URL=http://127.0.0.1:8000/api


🧩 Components Overview

  • SearchBox.tsx — Input field + search button (to query city)

  • WeatherCard.tsx — Displays weather results beautifully

  • api.ts — Handles API calls to backend


🎨 Custom Styling (Tailwind + RippleUI)

  • Colors: Soft blues & neutrals for calm weather vibes

  • RippleUI Components: Buttons, Cards, Inputs

  • Fully responsive (mobile, tablet, desktop)


🌍 API Reference

Endpoint Method Description
/api/weather?city={city} GET Fetch weather data for city

🏆 Contribution

Contributions are welcome!

To contribute:

  • Fork the project

  • Create your branch (git checkout -b feature)

  • Commit your changes (git commit -m )

  • Push to the branch (git push origin feature)

  • Open a Pull Request

About

Pawa Weather App: A full-stack weather application with Laravel backend and Next.js frontend

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0