1.0.17 • Published 1 year ago

auth-middleware-utils v1.0.17

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

Auth Middleware Utils

This is a role-based authentication middleware for Express.js applications.

Key Features

  • Role-Based Access Control (RBAC): Restricts access to resources based on the role of the user.
  • Session Management: Handles user sessions using JWT tokens.
  • Integration with MongoDB: Uses MongoDB for storing and retrieving user data.

Getting Started

Prerequisites

Ensure you have the following software installed on your local machine:

  • Node.js
  • npm
  • MongoDB

Installation

  1. Clone the repository:

    git clone https://github.com/gaur-adi/auth-middleware.git
  2. Install the required NPM packages:

    npm install
  3. Set up the necessary environment variables:

    • JWT_SECRET_KEY

Contributing

We welcome contributions from everyone. The open-source community is an incredible place to learn, inspire, and create. Here's how you can join:

  1. Fork the project.
  2. Create your feature branch (git checkout -b feature/AmazingFeature).
  3. Commit your changes (git commit -m 'Add some AmazingFeature').
  4. Push to the branch (git push origin feature/AmazingFeature).
  5. Open a pull request.

Contact

For any queries, feel free to reach out to:

Aditya Gaur - adityagaur851@gmail.com

For more information about the project, please visit: Project Link

1.0.17

1 year ago

1.0.16

1 year ago

1.0.15

1 year ago

1.0.14

1 year ago

1.0.13

1 year ago

1.0.9

1 year ago

1.0.8

1 year ago

1.0.11

1 year ago

1.0.10

1 year ago

1.0.12

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago