All Decisions

8 decisions

Use PostgreSQL for the main database

Rationale

Strong JSONB support

Proposed by: user

Set refresh token expiry to 7 days

Implement OAuth2 Authentication

Set refresh token expiry to 7 days for security

Proposed by: assistant

Use devise-oauth2 gem

Implement OAuth2 Authentication

Implement OAuth2 authentication using devise-oauth2 gem

Rationale

It integrates well with Rails and provides standard OAuth2 flows

Proposed by: assistant

We decided to use a RESTful approach for the new API.

Rationale

This will make it easier for clients to interact with the API.

Proposed by: John

Authentication Method

Designing the New API

We decided to use OAuth for authentication.

Rationale

This will provide a secure way for clients to authenticate with the API.

Proposed by: Bob

Caching Strategy

Designing the New API

We decided to use Redis for caching.

Rationale

This will improve performance and reduce the load on the database.

Proposed by: Jane

Log File Size Limit

Log Rotation Test

Set log file size limit to 10MB

Rationale

Prevent log files from growing too large

Proposed by: John Doe

Rotation Frequency

Log Rotation Test

Rotate logs daily

Proposed by: Jane Doe