Pet Store

C+ 76 completed
Other
containerized / erlang · tiny
41
Files
2,259
LOC
0
Frameworks
4
Languages

Pipeline State

completed
Run ID
#1051425
Phase
done
Progress
0%
Started
2026-04-15 12:08:28
Finished
2026-04-15 12:08:28
LLM tokens
0

Pipeline Metadata

Stage
Cataloged
Decision
proceed
Novelty
41.89
Framework unique
Isolation
Last stage change
2026-05-10 03:35:24
Deduplication group #58962
Member of a group with 5 similar repo(s) — canonical #1183379 view group →
Open data scored by Repobility · https://repobility.com

AI Prompt

Create a sample REST API for a pet store using Erlang. I need it to demonstrate building a database-backed web application using Nova and Kura. The API must support full CRUD operations for pets via endpoints like `/api/pets`, including listing all pets, creating a pet, getting a pet by ID, updating a pet, and deleting a pet. Please ensure the structure includes schema definition, changeset validation, and migration management, and provide setup instructions using Docker Compose for PostgreSQL.
erlang rest-api nova kura database postgresql crud web-app docker
Generated by gemma4:latest

Catalog Information

Create a sample REST API for a pet store using Erlang. I need it to demonstrate building a database-backed web application using Nova and Kura. The API must support full CRUD operations for pets via endpoints like /api/pets, including listing all pets, creating a pet, getting a pet by ID, updating a pet, and deleting a pet. Please ensure the structure includes schema definition, changeset validation, and migration management, and provide setup instructions using Docker Compose for PostgreSQL.

Tags

erlang rest-api nova kura database postgresql crud web-app docker

Quality Score

C+
76.0/100
Structure
73
Code Quality
85
Documentation
58
Testing
65
Practices
78
Security
100
Dependencies
50

Strengths

  • CI/CD pipeline configured (github_actions)
  • Consistent naming conventions (snake_case)
  • Low average code complexity — well-structured code
  • Good security practices — no major issues detected
  • Containerized deployment (Docker)

Weaknesses

  • No LICENSE file — legal ambiguity for contributors
  • 139 duplicate lines detected — consider DRY refactoring

Recommendations

  • Add a linter configuration to enforce code style consistency
  • Add a LICENSE file (MIT recommended for open source)

Languages

erlang
89.3%
yaml
6.4%
markdown
4.3%
sql
0.0%

Frameworks

None detected

Quality Timeline

1 quality score recorded.

View File Metrics

Embed Badge

Add to your README:

![Quality](https://repos.aljefra.com/badge/714303.svg)
Quality BadgeSecurity Badge
Export Quality CSVDownload SBOMExport Findings CSV