A basic Next.js starter.
- Linting / Code Style
- Environment Variables
- Styles / UI
- Validation
- Forms
- Database
- Authentication
- Install dependencies:
yarn install
- Copy the
.env
file:
cp .env.example .env
- Update the following values in the
.env
file:
NEXTAUTH_SECRET=your-value-here
GOOGLE_CLIENT_ID=your-value-here
GOOGLE_CLIENT_SECRET=your-value-here
- Start the database:
docker compose up
- Migrate the database:
yarn db:migrate
- Start the app:
yarn dev