- Create a
.env
file in the root of the project and add the following
cp .env.example .env
- Generate auth secret key
npx auth secret
- Fill up your google & github client id & secret in
.env
...
AUTH_GOOGLE_ID=xxxx
AUTH_GOOGLE_SECRET=xxxx
...
- Create your Resend api key for email service in
.env
...
RESEND_API_KEY=xxxx
...
- Install dependencies
yarn install
- Start postgres database
docker-compose up -d
- Run the development server:
yarn dev
Open http://localhost:3000 with your browser to see the result.