Example frontend portion of a solution that can automatically check users into SW flights. Keeps track of users, but offloads the actual checking in to Checkin Service.
Copy .env.example to .env.
Set up Google authentication for NextAuth for your users and fill in GOOGLE_CLIENT_ID and GOOGLE_CLIENT_SECRET in your .env file.
Stand up Checkin Service on AWS and fill in CHECKIN_SERVICE_AUTHORIZER_TOKEN and CHECKIN_SERVICE_HOST_URL in your .env file.
Enable experimental Scheduled Functions in Netlify to support this cron job.
npm install
docker compose up -d
npx prisma db push
This is an app bootstrapped according to the init.tips stack, also known as the T3-Stack.