Powered by KingsHall
Create a .env file in the frontend project root with:
REACT_APP_API_URL=https://kingshalls.onrender.comIf you are running the app locally, point REACT_APP_API_URL to your local backend instead.
Create a .env file in the backend project root with:
PORT=3001
MONGO_URI=your_mongodb_connection_string
JWT_SECRET=your_long_random_jwt_secret
RESEND_API_KEY=your_resend_api_key
EMAIL_FROM=CryBots <noreply@yourdomain.com>
APP_URL=https://your-frontend-domain.comNotes:
RESEND_API_KEYis required to send confirmation emails.EMAIL_FROMmust be a verified sender in Resend.APP_URLis used to build the email confirmation link that sends users back to the app.JWT_SECRETshould be a strong random string.