Prerequisite You should have installed Node.js (version 20.0.0 or higher).
1
Create the project using the CLI
Choose an directory and create the project using the command and follow the instructions:Read more about the CLI for more information.
2
Navigate to the project directory
Navigate to the project directory using the following command:
3
Insert your api keys and secrets
Insert your api keys and secrets in the
.env
file.4
Start the development server
Start the development server using the following command:
Configuration file
To make sure everything is set up correctly, please check the Configuration page for more information. Its necessary to set up most of the configurations before starting the server.Environment Variables
Change the environment variables in the.env
file with your own values. To generate an own BETTER_AUTH_SECRET
, you can use the following command:
Admin Account
To create an admin account, you can use the following command:http://localhost:3000/admin
.