Skip to content

Spike: How might we support databases #267

@sawyerh

Description

@sawyerh

What's the task?

The Next.js template doesn't currently provide any out-of-the-box database support like the Flask template. There's no reason a project couldn't use the Next.js app exclusively though, and there's been at least one instance where we've had to figure out Next.js template DB support at a project level.

The template should provide similar DB support as the Flask template, such as an ORM and DB migrations.

Prior art

The "Flex" initiative used Prisma with the Next.js template. The team ran into several pain points with Prisma, so it may not be the right solution, but there could be aspects that can serve as a useful reference for this ticket. Here are some potential relevant parts:

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions