Skip to content

Question: Back vs Nextjs API #11

@khuezy

Description

@khuezy

Hi, thanks for creating this awesome starter kit!

Can you help me understand the difference between the backend/api and the /api that Nextjs creates (via the serverless-nextjs).

I would like to use prisma in the web/pages/api, how would I configure that?

How come there's a NAT for the RDS? The internal Lambdas should have access to RDS, right? I want to avoid setting up a NAT b/c their are rather expensive.

I would like to migrate/seed data to the database via a script though... I'd image the migrateScript you have is a good place to set that up during each deployment.

Thanks again!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions