View on GitHub

meteo-app

Browser-based weather app with PHP backend proxy and JavaScript frontend.

0 0 0 Open issues: 0 Closed issues: 0 Open PRs: 0 Branches: 2 Default: main Updated: 4 weeks ago
CSS (19.8%) JavaScript (38%) PHP (42.2%)

README

Weather App

A weather application built with PHP and vanilla JavaScript.
Users can search for cities and view real-time weather data through a simple and responsive interface.


Overview

This project implements a lightweight fullstack weather system focused on API integration, environment configuration, and clean separation between frontend and backend.
It was built to practice structuring applications without frameworks while maintaining clear organization and secure API handling.


Features

  • Search cities with autocomplete
  • Fetch real-time weather data
  • Secure API key handling via backend proxy
  • Responsive interface
  • Error handling with user feedback

Tech Stack

  • PHP
  • JavaScript
  • HTML
  • CSS

Architecture

The application follows a modular structure with clear separation between backend logic, frontend behavior, and configuration.

  • api/ defines the backend API proxy layer
  • public/assets/js/ contains frontend logic
  • src/ contains environment configuration
  • public/ serves the application entry point and assets

The project emphasizes separation of concerns and secure communication with external APIs.


Project Structure

  • public/ - entry point and static assets
  • api/ - backend API proxy
  • src/ - environment configuration
  • public/assets/js/ - frontend scripts

Running Locally

Using PHP locally

php -S localhost:8000 -t public

Branches (2)

  • v1 42a5198
  • main b31bbe7

Recent Commits (2)