Skip to content

🕸️ | An API built with NestJS and Prisma to explore data from the lands of the spiderverse

License

Notifications You must be signed in to change notification settings

raphaelkauan/spiderverse

Repository files navigation

Spider Logo

Description

An api inspired by the spiderverse with the aim of registering several spider men and their other villains.

Functionalities

  • Robust Validation: Use of Class Validator to ensure data quality.
  • Efficient Data Management: Using Prisma for database operations.
  • Authentication with JWT: Generation of JWT for privacy of other routes.
  • Dockerization: Implementation with Docker for ease of deployment and development.
  • Redis: Redis implementation for cache management.

🧪 Scripts and Test Cases:

Installation not using Docker

# Install dependencies
$ npm install

# .env config
DATABASE_URL = "conect postgres"
JWT_SECRET_TOKEN = "random password"

REDIS_HOST = "host redis"
REDIS_PORT = "port"

# Run database migrations
$ npx prisma migrate dev

Running the app

# Initializing
$ npm run start:dev

Swagger

Route: http://localhost:3000/v1/docs

Doc

License

This project is licensed under the MIT licensed.

About

🕸️ | An API built with NestJS and Prisma to explore data from the lands of the spiderverse

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published