This is a Next.js project bootstrapped with create-next-app.
Follow the instructions below to set up and configure the required credentials for the InnMATE project. These credentials are necessary to integrate external services like Kinde, Stripe, Uploadcare, Google ReCaptcha, and SMTP.
First, clone the project repository to your local machine:
git clone https://github.com/your-username/innmate.gitNavigate to the project directory and install the necessary dependencies:
cd innmateInstall dependencies
npm i or
npm i --legacy-peer-deps- Add your MySQL Databse password [ install mySQL is not done ALready : https://www.mysql.com/downloads/]
Below are detailed instructions on how to get all the necessary API keys and credentials for the project:
To obtain the Kinde API Keys, follow these steps:
- Go to Kinde Developer Console.
- Log in or sign up for a new account.
- Create a new OAuth Application.
- Once the application is created, you will get the following keys:
KINDE_CLIENT_ID: Find this in the OAuth Application settings.KINDE_CLIENT_SECRET: This is also available in the same section of your OAuth Application settings.KINDE_ISSUER_URL: This will be in the formathttps://<Your_Kinde_Name>.kinde.com.
Add these values to your .env file:
KINDE_CLIENT_ID=your_kinde_client_id
KINDE_CLIENT_SECRET=your_kinde_client_secret
KINDE_ISSUER_URL=https://<Your_Kinde_Name>.kinde.com
To obtain Stripe API keys, follow these steps:
- Go to the Stripe Dashboard.
- Log in or create a new account if you don't already have one.
- Navigate to Developers -> API keys in the Stripe dashboard.
- You will find the following keys:
STRIPE_SECRET_KEY: The secret key used for server-side API requests.STRIPE_WEBHOOK_SECRET: This is the key used for Stripe Webhooks.NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY: The public key used for client-side Stripe integration.
Add the values to your .env file:
STRIPE_SECRET_KEY=your_stripe_secret_key
STRIPE_WEBHOOK_SECRET=your_stripe_webhook_secret
NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY=your_stripe_publishable_key
To obtain Uploadcare API keys, follow these steps:
- Go to the Uploadcare Dashboard.
- Create a new account or log in if you already have one.
- In the API section, you will get:
UPLOADCARE_SECRET_KEY: The private API key.
Add the value to your .env file:
NEXT_PUBLIC_UPLOADCARE_BASE_URL=https://ucarecdn.com
UPLOADCARE_SECRET_KEY=your_uploadcare_secret_key
To obtain Google ReCaptcha API keys, follow these steps:
- Visit Google ReCaptcha and sign in with your Google account.
- Register a new site and choose the type of ReCaptcha (usually reCAPTCHA v2 or v3).
- After registering, you will get:
RECAPTCHA_SECRET_KEY: This is used for server-side verification.NEXT_PUBLIC_RECAPTCH_SITE_KEY: This is used on the client-side for embedding the ReCaptcha.
Add the values to your .env file:
RECAPTCHA_SECRET_KEY=your_recaptcha_secret_key
NEXT_PUBLIC_RECAPTCH_SITE_KEY=your_recaptcha_site_key
To send emails via Gmail's SMTP service, you need to configure the following:
- Log in to your Gmail Account.
- Enable 2-Step Verification if it’s not already enabled.
- Create a Google App Password:
- Go to Google Account Settings.
- Navigate to Security -> App passwords and generate a new app password for "Mail".
This will generate a 16-character password that you can use instead of your regular Gmail password.
Add the values to your .env file:
SMTP_USER=your_gmail_account@gmail.com
SMTP_PASS=your_google_app_password
- Ensure that all environment variables are correctly set to avoid issues when running the application.
- Do not push the
.envfile to GitHub to prevent exposing your sensitive credentials. Make sure to add.envto.gitignore.
First, run the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun devFor Dockerised Environment
docker compose up --buildOpen http://localhost:3000 with your browser to see the result.
You can start editing the page by modifying app/page.tsx. The page auto-updates as you edit the file.
This project uses next/font to automatically optimize and load Geist, a new font family for Vercel.
To learn more about Next.js, take a look at the following resources:
- Next.js Documentation - learn about Next.js features and API.
- Learn Next.js - an interactive Next.js tutorial.
You can check out the Next.js GitHub repository - your feedback and contributions are welcome!
The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.
Check out our Next.js deployment documentation for more details.



