Coder Social home page Coder Social logo

martstech / weathergpt Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 1.0 471 KB

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

License: MIT License

TypeScript 79.06% HTML 0.79% CSS 0.29% JavaScript 0.37% Python 18.43% Dockerfile 1.06%
docker docker-compose angular eslint prettier tailwindcss typescript django gpt-3 openai

weathergpt's Introduction

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

weathergpt's People

Contributors

martstech avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.