Skip to content

Srikar270905/Call2Code_Team_speri3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

ReLive — See How Cities Have Changed Over Time

ReLive is a creative web app built for the "One API to Rule Them All" hackathon category. It uses the Wikipedia API to fetch information about any city in the world. With an elegant UI, dark mode toggle, loading animation, and ChatGPT integration, ReLive offers an immersive experience to explore city histories.


Features

  • Search any city (e.g., Paris, London)
  • Dark mode toggle for better readability
  • Animated loader while fetching data
  • ChatGPT integration (optional)
  • Wikipedia REST API for real-time data
  • Deployed frontend via Netlify

Tech Stack

Frontend:

  • React.js — UI library
  • Tailwind CSS — Styling and dark mode
  • Axios — HTTP client
  • Netlify — For deployment

Backend:

  • Node.js — JavaScript runtime
  • Express.js — Server framework
  • CORS — Enable frontend-backend communication
  • Wikipedia REST API — To fetch city summaries

Folder Structure

Hackaton/ ├── client/ # React frontend │ ├── src/ │ │ ├── components/ │ │ │ ├── CityCard.js │ │ │ └── Loader.js │ │ ├── App.js │ │ └── index.js │ ├── public/ │ ├── tailwind.config.js │ ├── postcss.config.js │ └── package.json ├── server/ # Node.js backend │ ├── app.js │ └── package.json └── README.md


image WhatsApp Image 2025-07-05 at 05 03 23_2521d50d WhatsApp Image 2025-07-05 at 04 11 12_893b8423 WhatsApp Image 2025-07-05 at 04 11 13_98f94fe0

Local Setup

1. Clone the repository

git clone https://github.com/your-username/relive.git
cd Hackaton

### Backend Setup
cd server
npm install
node app.js

### Frontend Setup
cd client
npm install
npm start


API Used
We use the Wikipedia REST API to fetch clean and concise information about cities using this endpoint:

ruby
Copy
Edit
GET https://en.wikipedia.org/api/rest_v1/page/summary/{city}
Example:

ruby
Copy
Edit
https://en.wikipedia.org/api/rest_v1/page/summary/London


One API to Rule Them All — Hackathon Innovation Challenge

Stretching the Wikipedia API to offer a sleek and creative city exploration experience.

Wikipedia Foundation for the open API

Tailwind CSS team

OpenAI for ChatGPT integration (optional)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •