Skip to content

Authentication service for QuickShop, a simple e-commerce application using NestJS and gRPC. Handles user sign-ups and sign-ins, and manages request authorization.

Notifications You must be signed in to change notification settings

hardikshakya/quickshop-auth-service

Repository files navigation

Quickshop Auth Service

This is a microservice for user authentication, part of the Quickshop project. It's built with NestJS, a progressive Node.js framework for building efficient and scalable server-side applications.

Description

This service handles user registration, login, and token validation. It uses JWT for authentication and bcryptjs for password hashing and validation.

Installation

To install the dependencies, run:

npm install

Run the Scripts for shared proto

Finally, let's run these scripts:

npm run proto:install && npm run proto:auth

Running the app

To run the app in different modes, use the following commands:

# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run start:prod

Environment Variables

The service uses environment variables for configuration. These are defined in the example.env file. Make sure to provide your own values before running the service.

About

Authentication service for QuickShop, a simple e-commerce application using NestJS and gRPC. Handles user sign-ups and sign-ins, and manages request authorization.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages