https://github.com/samya-s/secureauth
Security Made Simple, Authentication Made Strong using NextJS and MongoDB
https://github.com/samya-s/secureauth
auth authentication next nextjs secureauth
Last synced: about 2 months ago
JSON representation
Security Made Simple, Authentication Made Strong using NextJS and MongoDB
- Host: GitHub
- URL: https://github.com/samya-s/secureauth
- Owner: Samya-S
- License: gpl-3.0
- Created: 2024-03-23T19:53:41.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2025-03-11T09:21:16.000Z (over 1 year ago)
- Last Synced: 2025-03-29T01:32:14.171Z (about 1 year ago)
- Topics: auth, authentication, next, nextjs, secureauth
- Language: JavaScript
- Homepage:
- Size: 460 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SecureAuth
SecureAuth - Security Made Simple, Authentication Made Strong made with `NextJS` (frontend and backend) and `MongoDB` (database)
## Table of Contents
- [Installation](#installation)
- [Defining env variables](#defining-environment-variables)
- [Run dev environment](#run-dev-environment)
## Installation
1. Clone the repository:
```bash
git clone git@github.com:Samya-S/SecureAuth.git
```
`Make sure you have SSH keys setup in your machine`
2. Navigate to the project directory:
```bash
cd secureauth
```
3. Install dependencies:
```bash
npm install
```
or alternatively
```bash
npm i
```
`Make sure to have nodejs and npm installed`
## Defining environment variables
Create a `.env` file and define the following environment variables:
```bash
mongoURI = ''
NEXT_PUBLIC_hostingDomain = ''
secretToken = ''
```
## Run dev environment
Run the development server:
```bash
npm run dev
```
or
```bash
yarn dev
```
or
```bash
pnpm dev
```
or
```bash
bun dev
```