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 - openSenseMap/api: API for openSenseMap.org

This repository was archived by the owner on Oct 16, 2026. It is now read-only.
BranchesTags
Open more actions menu

Latest commit

 

History

1,395 Commits
1,395 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
.scripts
.scripts
 
 
apidoc
apidoc
 
 
config
config
 
 
dumps
dumps
 
 
packages
packages
 
 
tests
tests
 
 
.dockerignore
.dockerignore
 
 
.eslintrc.js
.eslintrc.js
 
 
.gitignore
.gitignore
 
 
.npmignore
.npmignore
 
 
CHANGELOG.md
CHANGELOG.md
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
Dockerfile
Dockerfile
 
 
README.md
README.md
 
 
apidoc.json
apidoc.json
 
 
docker-compose.yml
docker-compose.yml
 
 
license.md
license.md
 
 
package.json
package.json
 
 
yarn.lock
yarn.lock
 
 

Repository files navigation

⚠️ This repository is not under active development anymore!

This repository is only for reference to the openSenseMap API as it exists in its initial version. For upcoming features and changes, refer to the unified repository here.


openSenseMap API

This repository contains the code of the openSenseMap API, which is the HTTP REST API used by https://opensensemap.org running at https://api.opensensemap.org. To get more information about openSenseMap and senseBox visit the before mentioned links or have a look at this video, read the API docs or the openSenseMap chapter in our documentation. openSenseMap is part of the senseBox project.

Originally, this API has been built as part of the bachelor thesis of @mpfeil at the ifgi (Institute for Geoinformatics, WWU Münster). Developers and previous maintainer include @umut0, @felixerdy, @noerw, @chk1 and @ubergesundheit.

You'll find that the repostiory uses yarn workspaces to separate the API and the database models for reuse in other projects. While the API is not published on npm, the package @sensebox/opensensemap-api-models is published from packages/models folder.

Configuration

Configuration of both the api and the models is done using mechanisms provided by lorenwest/node-config. You can find an annotated example configuration with all keys in config/config.example.json.

Development

  • Have Node.js v16, yarn, Docker and docker-compose installed
  • Start your development database (docker-compose up -d db)
  • Create branch for your feature (git checkout my-awesome-feature)
  • Run yarn install
  • Commit your changes to your branch and push it to your fork
  • Create a pull request against the master branch

See also: CONTRIBUTING

Running Tests

You can run the tests in containers using Docker and docker-compose.

# Run this the first time or every time you change dependencies in package.json
yarn build-test-env

yarn test

Related projects

Services

  • openSenseMap Frontend
  • ttn-osem-integration
  • mqtt-osem-integration
  • sensebox-mailer

Libraries

  • sketch-templater
  • openSenseMap-API-models

Deployment

  • OSeM-compose
  • openSenseMap-infrastructure

Technologies

  • Node.js
  • MongoDB

Organization

Branches

  • master (runs on testing server)
    • Is used for container build tags
  • gh-pages
    • Hosts API docs for https://docs.opensensemap.org/
    • Is generated and pushed to GitHub by GitHub Actions file

Tags and Versions

Git Tags are used for Github Container Registry builds (like v1). Version number is increased by following semantic versioning. Docker images are built automatically by Github Actions for all tags starting with v all pushes to master and all pull requests against master.

Versioned container images

  • Check out master branch
  • Go to root directory
  • Run tests
  • Optional: Build docker image locally
  • Commit everything needed for the container image
  • Run yarn tag-container
  • Run git push origin master

License

MIT - Matthias Pfeil 2015 - now

About

API for openSenseMap.org

Resources

Readme
MIT license

Contributing

Contributing
Activity
Custom properties

Stars

0 stars

Watchers

3 watching

Forks

1 fork
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — 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.