This is a Next.js project bootstrapped with create-next-app
.
Install all the required dependencies
npm install
Create a .env with the following details in the root of your project
MONGO_URI="YOUR MONGO URI"
TOKEN_SECRET="TOKEN SECRET"
DOMAIN=http://localhost:3000/ # YOU CAN CHANGE IT
# OTHER VARIABLES IF APPLICABLE
Run local development server
npm run dev
This project uses the SMTP_SERVER to send emails. The email functionality has been implemented in the src/helper/mailer.ts
.
For more details about the SMTP server, refer to the official repository: SMTP_SERVER on GitHub.
Alternatively, you can implement your own email sender if preferred.
Open 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 Inter, a custom Google Font.
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
Contributions are welcome! Feel free to submit a Pull Request. See the CONTRIBUTING section for more details.
This project is licensed under the MIT License. You are free to use, modify, and distribute this software in accordance with the terms of the license.