Skip to content

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

Notifications You must be signed in to change notification settings

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