I'm trying to figure out the correct workflow when setting up a new application and i'm a little confused about environments.
What is the correct way of setting up environments for a new application? Currently my experience looks like this:
- Sign in to my kinde account, or create an account
- Add a new business for my app
- Navigate to that business and select start project from scratch
- Select Nextjs as the framework
- select social providers and email
- Select connect to get to the quick start where I can copy all my env vars and โstart quicklyโ
This seems really easy and simple, but Iโm automatically put into my
production environment with no other environments available. I think I actually want a localhost environment to test things out with. So then I:
- Add environment (local or dev or something)
- Switch to that environment
I have a backend and a frontend application in this new environment even though I only had a next.js environment in my initially setup production environment.
- Delete the frontend app
- Go to settings/authentication to add social connections
- select the backend app
- Select Nextjs as the framework and go through the quick start
It seems easy to just use production but a bit awkward to get a dev environment the way i'm doing it