Coder Social home page Coder Social logo

gpt-4-weather-app's Introduction

# StepZen Weather AI App A Stepzen Weather AI App using the chatGPT API. *Development in-process.* Check out a live [demo](https://ai-weather-app-kappa.vercel.app/). ### Development: - [Next.js](https://nextjs.org/) as package manager - [TypeScript](https://www.typescriptlang.org/) - scalable, reliable web dev language - [React](https://react.dev/) - web library - [StepZen](https://stepzen.com/) is a GraphQL server with a unique architecture. - [Free Weather API](https://open-meteo.com/) - [Weather API Icons](https://www.weatherbit.io/) - [Tremor](https://www.tremor.so/) for stylized components - [Tailwind CSS](https://tailwindcss.com/) ## Getting Started ### ๐Ÿ”‘ Create '.env' at the root of your project and include the following environment variables to your project: - API_URL= - NEXT_PUBLIC_STEPZEN_API_KEY= - OPENAI_API_KEY= - NODE_ENV= - VERCEL_URL= ### Frontend First, install packages and run the development server: ```bash yarn yarn run dev ``` Open [http://localhost:3000](http://localhost:3000) with your browser to see the result. ### Backend To run the backend server, run the following command in a seperate terminal. ```bash start-stepzen ``` Open the `localhost:5001` with your browser to see the result. ## Walkthrough The landing page will have an seletion for `Country`, (optionally `State`), and `City`. ![Home Page](./public/images/homepage_saiw.gif)

Landing Page

Once the city of choice has been selected, the request is posted and the client will be directed to a page with the corresponding city weather information (e.g. example shown below). The information panel allows the client to change cities. The selected city displays the local time, sunruse, sunset, and collection of other metrics. ![desktop view](./public/images/desktop_resp.gif)

Desktop View & Responsive

This application is mobile responsive. The example is shown below. ![mobile view](./public/images/mobile_view.gif) # GPT-4-weather-app

gpt-4-weather-app's People

Contributors

1js2002 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.