Skip to content

anthane-git/identity-api

Repository files navigation

Identity Provider Service API

NestJS Typescript JWT/JSON Web Token Prisma Swagger

This project is bootstraped with NestJS a progressive Node.js framework for building efficient, reliable and scalable server-side applications.

Running the app

    # development
    $ npm run start

    # watch mode
    $ npm run start:dev

    # production mode
    $ npm run start:prod

Running database migrations (development only)

npx prisma migrate dev --name add ADD_COMMENT_HERE
npm run db:migrate

Database Admin Tool (prisma studio)

npm run db:show

Generate Secrets

openssl genrsa -out access.tkn.private.pem 4096
openssl rsa -in access.tkn.private.pem -pubout -out access.tkn.public.pem

openssl genrsa -out refresh.tkn.private.pem 4096
openssl rsa -in refresh.tkn.private.pem -pubout -out refresh.tkn.public.pem

About

Identity provider service API.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages