An API built with NestJS to generate UUID v4s and validate if a given string has the UUID/GUID format. Ideal for a portfolio project.
This API provides two main functionalities:
- Generate random UUID v4s.
- Validate the format of a text string as a UUID/GUID.
Very Simple.
- NestJS
- TypeScript
uuidlibraryclass-validatorandclass-transformer
- URL:
/uuid/generate - Method:
GET - Description: Generates and returns a new random UUID v4.
- Successful Response (200 OK):
{ "uuid": "..." // A string with the generated UUID v4 }