Skip to content

WeatherGPT is weather forecast application build with Angular and Django, usign GPT-3 and Open Meteo API

License

Notifications You must be signed in to change notification settings

MartsTech/WeatherGPT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WeatherGPT
WeatherGPT

WeatherGPT is weather forecast application build with Angular and Django. It uses the Open Meteo API to get the weather forecast data and the GPT-3 API to generate the weather forecast summary.

Release License

Key FeaturesKey TechnologiesRequirementsDocker SetupLocal SetupSupportLicense

forecast

Key Features

  • Weather forecast based on location
  • Weather forecast summary generated by GPT-3
  • ChartJS weather forecast visualization
  • Responsive design

Key Technologies

  • Angular
  • Django
  • GPT-3
  • Open Meteo API
  • ChartJS
  • TailwindCSS
  • TypeScript
  • Docker

Requirements

  • Dockeror (if running with Docker)
  • Python
  • Node.js

Docker Setup

  1. Clone the repository:
git clone https://github.com/MartsTech/WeatherGPT.git
  1. Navigate to the project directory:
cd WeatherGPT
  1. Set up environment variables for the frontend. Navigate to the environments and then open the environment files and fill in the required variables.

  2. Set up environment variables for the backend. Navigate to the .env.example file and copy it to a new file called .env and fill in the required variables.

  3. Start the project using Docker Compose:

docker-compose up --build
  1. Navigate to http://localhost:4200 to see the frontend running and http://localhost:8000 to see the backend.

Local Setup

  1. Clone the repository:
git clone https://github.com/MartsTech/WeatherGPT.git
  1. Navigate to the project directory:
cd WeatherGPT
  1. Set up environment variables for the frontend. Navigate to the environments and then open the environment files and fill in the required variables.

  2. Set up environment variables for the backend. Navigate to the .env.example file and copy it to a new file called .env and fill in the required variables.

  3. Install the frontend dependencies and start the development server (if you don't have pnpm installed, you can install it with npm install -g pnpm or use npm or yarn instead of pnpm):

cd frontend
pnpm install
pnpm start
  1. Install the backend dependencies and start the development server:
cd backend
pip install -r requirements.txt
python manage.py runserver
  1. Navigate to http://localhost:4200 to see the frontend running and http://localhost:8000 to see the backend.

Support

Whether you use this project, have learned something from it, or just like it, please consider supporting it by buying me a coffee, so I can dedicate more time on open-source projects like this :)

Buy Me A Coffee

License

You can check out the full license here

This project is licensed under the terms of the MIT license