Skip to content

Samya-S/SecureAuth

Repository files navigation

SecureAuth

SecureAuth - Security Made Simple, Authentication Made Strong made with NextJS (frontend and backend) and MongoDB (database)

Table of Contents

Installation

  1. Clone the repository:

    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:

    cd secureauth
  3. Install dependencies:

    npm install

    or alternatively

    npm i

    Make sure to have nodejs and npm installed

Defining environment variables

Create a .env file and define the following environment variables:

mongoURI = '<your mongodb url>'
NEXT_PUBLIC_hostingDomain = '<your localhost domain>'
secretToken = '<a random secret token for jwt>'

Run dev environment

Run the development server:

npm run dev

or

yarn dev

or

pnpm dev

or

bun dev

About

Security Made Simple, Authentication Made Strong using NextJS and MongoDB

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •