/EarthPulse

Primary LanguageTypeScript

REST API example application

This is a bare-bones example of a express application providing a REST API.

The entire application is contained within the app.ts file.

.eslintrc.cjs is a minimal config file for Eslint, and typescript rules.

jest.config.cjs config file for tests.

It uses jest.integration.config to config jest integration tests.

Run the app

npm start

REST API

Get list of Things

Endpoint HTTP Method(s):

  • /geodata GET Retrieve the GeoData