An open API service indexing awesome lists of open source software.

https://github.com/raphaelkauan/spiderverse

🕸️ | An API built with NestJS and Prisma to explore data from the lands of the spiderverse
https://github.com/raphaelkauan/spiderverse

class-validator docker nestjs node orm redis typescript

Last synced: 17 days ago
JSON representation

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

Awesome Lists containing this project

README

          


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:

- [Click here!](https://github.com/raphaelkauan/spiderverse-performance-test)

## Installation not using Docker

```bash
# 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

```bash
# Initializing
$ npm run start:dev
```

## Swagger

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

Doc

## License

This project is licensed under the [MIT licensed](LICENSE).