Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prototype adding an RDS data store in NextJS prototype #43

Closed
3 of 4 tasks
echappen opened this issue Mar 13, 2024 · 1 comment
Closed
3 of 4 tasks

Prototype adding an RDS data store in NextJS prototype #43

echappen opened this issue Mar 13, 2024 · 1 comment
Assignees
Labels
Data Management API's, data storage, business logic, etc squad-dashboard

Comments

@echappen
Copy link
Contributor

echappen commented Mar 13, 2024

As a way to decide on #39, prototype adding a Cloud.gov-brokered RDS data store to the existing NextJS prototype.

This database prototype should include:

  • how to exchange database credentials properly for dev and prod-like environments
  • how to fetch data
  • how to update data
  • how to run database migrations

The purpose of this prototype is more to validate the operations around the database, rather than deciding on the data schema itself. Therefore, data schema should be kept very basic (i.e. "hello database").

CG pages team has a version of this implementation, although it was suggested that we avoid their specific architecture.

Acceptance criteria

Prototype validates each of the above items

@echappen echappen changed the title Prototype adding a RSD data store in NextJS prototype Prototype adding an RSD data store in NextJS prototype Mar 13, 2024
@jduss4 jduss4 changed the title Prototype adding an RSD data store in NextJS prototype Prototype adding an RDS data store in NextJS prototype Mar 18, 2024
@jduss4 jduss4 self-assigned this Mar 19, 2024
@jduss4
Copy link
Contributor

jduss4 commented Mar 29, 2024

See #58 for a proof-of-concept to build a database and API working with it inside of the next framework. This accomplishes all the tasks except migrations. I determined migrations to be out of scope as it would involve pulling in additional libraries or rolling-our-own, although we have the ability to manually create tables in this POC.

@jduss4 jduss4 closed this as completed Mar 29, 2024
@echappen echappen added the Data Management API's, data storage, business logic, etc label Apr 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Data Management API's, data storage, business logic, etc squad-dashboard
Projects
None yet
Development

No branches or pull requests

2 participants