Skip to content

ivomiyashiro/auth-api

Repository files navigation

πŸ“– Auth API

A versatile REST API for authentication featuring local, GitHub, and Google sign-up options.

😁 Crafted with

βœ… Nest.js

βœ… Prisma

βœ… Pactum (E2E Testing)

🌟 Features

⭐️ JWT access and refresh tokens

⭐️ Google OAuth

⭐️ Github OAuth

⭐️ Private and public routes

πŸ›  Installation

$ pnpm install

πŸ”’ .env

Create a .env file and fill it following the structure provided in the .env.template file for the proper functioning of the app.

πŸš€ Running the app

# Make sure you have docker running
$ pnpm db:dev:up

# watch mode
$ pnpm start:dev

# production mode
$ pnpm run start:prod

πŸ§ͺ Test

# Make sure you have docker running
$ pnpm db:test:up

# e2e tests
$ pnpm test:e2e

License

Nest is MIT licensed.

About

A versatile REST API for authentication featuring local, GitHub, and Google sign-up options.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published