Skip to content

A secure, scalable and reusable authentication system.

License

Notifications You must be signed in to change notification settings

debanshup/auth_system

Repository files navigation

This is a Next.js project bootstrapped with create-next-app.

Getting Started

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

Email Functionality


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.

Learn More

To learn more about Next.js, take a look at the following resources:

You can check out the Next.js GitHub repository


Contributing

Contributions are welcome! Feel free to submit a Pull Request. See the CONTRIBUTING section for more details.


License

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.


About

A secure, scalable and reusable authentication system.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published