Coder Social home page Coder Social logo

dhbw-ka-pm / tinf22b6-travelinsights Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 2.0 4.76 MB

We create an interactive map with travel information.

Home Page: https://travelinsights.freemine.de

License: MIT License

TypeScript 86.62% HTML 4.00% JavaScript 0.67% CSS 1.93% XSLT 6.21% Dockerfile 0.58%
map react tsoa typescript xml

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

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.