Skip to content

Latest commit

 

History

History
24 lines (14 loc) · 546 Bytes

0025-use-grape-for-simple-opinionated-api-implementation.md

File metadata and controls

24 lines (14 loc) · 546 Bytes

25. Use Grape for simple opinionated Api implementation

Date: 2024-05-09

Status

Accepted

Context

We need to add an Api to the application. This is initially to allow projects to be created via a POST request to an endpoint.

Decision

Use the Grape gem to add a simple, opinionated Api to the application.

Authenticate users with an Api key, which is passed in an Apikey header in requests.

Consequences

Other applications will be able to interact with our application via the Api.