GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - danger9224/riddimfutar-api: NodeJS/Express based backend hosted on GCP for the RIDDIMFUTÁR project

BranchesTags
Open more actions menu

Latest commit

 

History

61 Commits
61 Commits

Folders and files

NameName
Last commit message
Last commit date
routes
routes
 
 
.DS_Store
.DS_Store
 
 
.env-example
.env-example
 
 
.gcloudignore
.gcloudignore
 
 
.gitignore
.gitignore
 
 
README.md
README.md
 
 
app.js
app.js
 
 
app.yaml
app.yaml
 
 
package.json
package.json
 
 
yarn.lock
yarn.lock
 
 

Repository files navigation

riddimfutár-api

This is an Express API with Node.js and Google App Engine for the RIDDIMFUTÁR app.

Important legal stuff

This project is not afflitiated with the Budapesti Közlekedési Központ (BKK) and the Forgalomirányítási és Utastájékoztatási Rendszer (FUTÁR) in any way. This project is solely for educational and experimental purposes.

What will this service do?

This Express API serves the Flutter application (that can be found in this repository) with the nearby stops, the routes, the upcoming stops of the selected route, and the URLs for the sound files (both the music loops and the local announcments, such as the "The next station is Deák Ferenc tér" recording).

The stop and route data are provided by the BKK via the BKK FUTÁR API.

Our API has the following endpoints:

  • GET /metadata
    • Get BKK bounds, messages from the developer, etc.
  • GET /vehicles?lat={lat}&lon={lon}
    • Get nearby vehicles. Provide the user latitude and longitude in the URL params.
  • GET /vehicle/{id}
    • Get a particular vehicle's data. Useful for downloading the sound signal of the stop.
  • GET /music/{genre}
    • Get a random music ID that the user will hear for the next stop. The URL will be downloaded from the bucket, alongside it's metadata (like the artist and an album art) and waveform.

How do you start development?

npm i
npm run dev

About environment variables

  • .envrc is used locally, automatically passed into the app via the CLI (e.g. when testing)
  • config/dev.json and config/prod.json are used in the appropiate deployment environment - an example is provided for both files For more info about the hows and whys, refer to this blogpost.

About

NodeJS/Express based backend hosted on GCP for the RIDDIMFUTÁR project

www.facebook.com/riddimfutarapp

Topics

bkknode-js

Resources

Readme
Activity

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.