Skip to content

JSON Web Token authentication using Typescript, Prisma, and JOI.

License

Notifications You must be signed in to change notification settings

shunny2/jwt-prisma

Repository files navigation

About Application    |    Technologies    |    How to Run    |    Routes    |    Project Status    |    License


Repo Stars Repo Forks License

About Application

JWT Prisma is an application designed to streamline the user authentication process. While initially created for didactic purposes, its robust features make it highly suitable for small and medium-sized projects. The chosen architecture for the project is the MVC (Model-View-Controller) pattern, as it enables us to organize our project efficiently and in a scalable manner.

The application was developed using a carefully curated set of technologies. Notably, Node.js and Express provide an agile and versatile environment for development. Integration with Prisma offers precise and simplified database access control, while SQLite ensures reliable data storage.

Furthermore, the implementation of Swagger provides clear and automated API documentation, enhancing understanding and collaboration among teams. For security, using JSON Web Token (JWT) offers a reliable method for authentication and authorization, bolstering the protection of the application's resources.

In summary, JWT Prisma combines a thoughtfully chosen array of technologies with a well-defined MVC architecture, resulting in an application that offers effective authentication and is primed to evolve efficiently and support growing demands.

Technologies

Node.js logo image. Express javascript logo image. Prisma ORM logo image. Joi logo image. Swagger logo image.

How to Run

First, start by cloning the repository:

git clone https://github.com/shunny2/jwt-prisma

Open each of the folders and run the command below to install the project's dependencies.

npm install

Run the command to start the server:

npm run dev

To see the database tables and data, run the command:

npx prisma studio

Routes

The image below describes the routes available by the application.

jwt-prisma-routes

API Documentation is available at /api/v1/docs

Project Status

Status: Completed.

License

This project is under an MIT license.


Created by Alexander Davis.

About

JSON Web Token authentication using Typescript, Prisma, and JOI.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published