An app to support the Udemy course Testing Next.js Apps
- Run
npm install
- Run
cp .env.development.local_template .env.development.local
- Run
cp .env.local_template .env.local
- In .env.local:
-
add long, hard-to-guess strings as the values for
NEXTAUTH_SECRET
andREVALIDATION_SECRET
- command to generate a random string:
openssl rand -base64 32
- command to generate a random string:
Run npm run dev
. The app will be found at [http://localhost:3000]