Giter Club home page Giter Club logo

tinf22b6-travelinsights's Introduction

Travel Insights

TL;DR

yarn install  # install dependencies
yarn gen # generate API code and spec
(cd backend; yarn start:dev) # start the backend with auto reload
(cd frontend; yarn start) # start the frontend with auto reload (exception see below)

Tested with

[yarn --version] 1.22.19

[node --version] v18.16.0

Backend

The backend implements a REST API using TSOA and ExpressJS.

Current hitrate: 80.7%

6161 Entries in Data Dump to

4973 qualified (but not verified) Data Sets

OpenAPI

The API specification can be generated using the yarn workspace travel-insights-backend gen:openapi. Output will be src/openapi.generated.json.

API Documentation

In development (NODE_ENV != production) mode the API documentation can be found at: http://localhost:4567/api/doc

Frontend

The frontend is implemented using ReactJS with functional components and React Hooks.

API Access

Restful-react is used for generating typed API helpers from the OpenAPI spec.

yarn workspace travel-insights-frontend gen

tinf22b6-travelinsights's People

Contributors

arpitjha867 avatar benjaminb109 avatar challenger3010 avatar lenvej avatar lpkkjhd avatar maarcs avatar stev3em avatar

Stargazers

 avatar

Watchers

 avatar

tinf22b6-travelinsights's Issues

Landing Page Bauen

  • Karte im Hintergrund ist am Hovern
  • Blurlayer
  • Suchbalken
  • Recommendations-Karten

Klick auf Land scrollt Map dorthin

Momentan führt ein Klick auf die Map dazu, dass der Ausschnitt der Map Zentriert wird.

Erwartetes Verhalten:
Ein Klick errechnet das Land der Koordinate und Zentriert das Land

Impressum

Impressum schreiben und in Seite einbinden

2 Functions for Map

  • Info appears when typing a country into textfield, screen jumps on the country
  • Info appears when clicking on a country or city, screen jumps on the traget

Wetterdaten aus API holen

https://api.open-meteo.com/ ist API Quelle

$ curl "https://api.open-meteo.com/v1/forecast?latitude=52.52&longitude=13.41&current_weather=true&hourly=temperature_2m,relativehumidity_2m,windspeed_10m"

Wir möchten mit einem Datum das Wetter in Karlsruhe (Koordinaten) an dem eingegebenen Datum haben

URL Routing

URL Routing implementieren, sodass PageStateContext (und SearchContext) nicht mehr benötigt wird

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.