Archived
2
ReST API for DeFinMa (NodeJS)
This repository has been archived on 2023-03-02. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
Veit Lukas (PEA4-Fe) c407da2fbc Merge pull request #2 in ~VLE2FE/dfop-api from user to develop
* commit '20f57acd2aa031a3fbce7b4f61f6a64749d98606':
  implemented first /sample methods
  finished /template methods
  finished /material methods
  styled swagger
  added /materials route
  added custom type definitions
  added /user DELETE route
  added /user/key and edited /user regex
  added test helper and rewrote tests
  added PUT /user route
  added GET /user route
  changed to findById and improved db.loadJson
  added passreset and mail helper
  added authorization
  cannot add username twice
  implemented first tests and basic functionality
2020-05-06 14:41:09 +02:00
.idea added /materials route 2020-04-29 12:10:27 +02:00
api implemented first /sample methods 2020-05-06 14:39:04 +02:00
src implemented first /sample methods 2020-05-06 14:39:04 +02:00
static finished /template methods 2020-05-04 15:48:07 +02:00
.gitignore added test helper and rewrote tests 2020-04-27 11:44:28 +02:00
mainfest.yml init 2020-01-14 13:25:13 +01:00
package-lock.json added custom type definitions 2020-04-27 15:24:17 +02:00
package.json finished /template methods 2020-05-04 15:48:07 +02:00
README.md updated README 2020-04-20 08:45:47 +02:00
tsconfig.json implemented first /sample methods 2020-05-06 14:39:04 +02:00
tslint.json init 2020-01-14 13:25:13 +01:00

Digital fingerprint of plastics - API

This is the API to access the database of the digital fingerprint of plastics project.

API documentation

The API is documented using the Open API Specification 3.0.2 and hosted together with the API under the /api path

Testing

Testing is done with mocha and can be executed using npm test.