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
- Host: GitHub
- URL: https://github.com/raphaelkauan/spiderverse
- Owner: raphaelkauan
- License: mit
- Created: 2024-05-06T22:52:32.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-10-16T11:29:18.000Z (over 1 year ago)
- Last Synced: 2025-02-27T03:20:45.524Z (about 1 year ago)
- Topics: class-validator, docker, nestjs, node, orm, redis, typescript
- Language: TypeScript
- Homepage:
- Size: 206 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## 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`

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