Clone repository
git clone https://github.com/ryfan/full-stack-next-js.git
Create file .env.local and configuration
DB_CLIENT=YOUR_CLIENT
DB_NAME=YOUR_DB
DB_USERNAME=YOUR_USERNAME
DB_PASSWORD=YOUR_PASSWORD
DB_HOST=YOUR_HOST
JWT_SECRET=YOUR_JWT_SECRET
And then
yarn install
yarn dev
Open your browser
running on http://localhost:3000