It's an event management app where users can quickly create an account and start using it.
Clone the repository by running this command in your CLI
git clone https://github.com/mhmitas/mh-events.git
To implement authentication follow the Auth.js docs
create a .env.local
file in the root of the project, and fill in the below variables
MONGODB_URI=""
# GMAIL_ID=""
# GMAIL_APP_PASSWORD=""
APP_URL=
# run `npx auth secret` to generate this variable
AUTH_SECRET=""
# Go to your [Google devlopers console](https://console.cloud.google.com/) and create a app
AUTH_GOOGLE_ID=""
AUTH_GOOGLE_SECRET=""
# create a Cloudinary account and take these credentials
CLOUDINARY_CLOUD_NAME=
CLOUDINARY_API_KEY=
CLOUDINARY_API_SECRET=
# https://dashboard.stripe.com/apikeys
NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY=
STRIPE_SECRET_KEY=
STRIPE_WEBHOOK_SECRET=
Then, run the development server:
npm run dev
Open http://localhost:3000 with your browser to see the result.