Skip to content

This project is working with api's like weather, ai chat, sports update and so on

License

Notifications You must be signed in to change notification settings

srijon57/API-Works

Repository files navigation

API-Based Web Pages

This project aims to create various web pages using APIs from different providers. The project is built using Vite, React, and JavaScript. The pages include functionalities such as weather updates, chat interfaces, sports updates, and more.

Features

  • Weather API: Fetches weather data from OpenWeatherMap.
  • Chat API: Utilizes the Gemini API for chat functionalities. Gemini
  • Sports Update API: Provides sports updates LiveScore
  • Dictionary API: Provides English to English dictionary Dictionary
  • Text Genarator API: Provides Text paragraphs for typing Baconipsum
  • Prayer Times API: Provides Islamic prayer times. Aladhan

Live Demo

You can view the live demo of the project here.

Getting Started

Prerequisites

  • Node.js and npm installed on your device.

Setting Up Environment Variables

Create a .env file in the root of your project directory to store your API keys. Add the following lines to the .env file:

VITE_WEATHER_API_KEY="your_weather_api_key"
VITE_GEMINI_API_KEY="your_gemini_api_key"
VITE_RAPIDAPI_API_KEY="your_livescore_api_key"

Installation

  1. Clone the repository:

    git clone https://github.com/srijon57/API-Works
  2. Navigate to the project directory:

    cd API-Works
  3. Install the dependencies:

    npm install

Usage

  1. Start the development server:

    npm run dev
  2. Open your browser and navigate to http://localhost:5173 to see the application in action.

Contributing

Contributions are welcome! Please follow these steps:

  1. Fork the repository.
  2. Create a new branch for your feature or bug fix.
  3. Commit your changes.
  4. Push your branch to your fork.
  5. Submit a pull request.

Contact

For any questions or suggestions, feel free to reach out to srijond57@gmail.com.


Happy coding! 🚀

About

This project is working with api's like weather, ai chat, sports update and so on

Resources

License

Stars

Watchers

Forks