{"id":17931052,"url":"https://github.com/mayllu/mayllu-backend","last_synced_at":"2026-03-11T12:49:23.010Z","repository":{"id":257907294,"uuid":"860926140","full_name":"Mayllu/mayllu-backend","owner":"Mayllu","description":"Backend API for handle user posts, media uploads, reactions, and AI-based analysis to optimize the city's urban management. Built with NestJS and PostgreSQL using TypeORM.","archived":false,"fork":false,"pushed_at":"2024-11-19T20:37:56.000Z","size":211,"stargazers_count":2,"open_issues_count":4,"forks_count":2,"subscribers_count":0,"default_branch":"feature/mongodb-integration","last_synced_at":"2025-03-19T02:11:25.467Z","etag":null,"topics":["api-rest","backend","mayllu","nestjs","postgresql","typeorm"],"latest_commit_sha":null,"homepage":"https://bit.ly/mayllu-docs","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Mayllu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-09-21T14:36:02.000Z","updated_at":"2024-11-19T20:38:00.000Z","dependencies_parsed_at":"2024-11-14T03:00:12.149Z","dependency_job_id":null,"html_url":"https://github.com/Mayllu/mayllu-backend","commit_stats":null,"previous_names":["mayllu/mayllu-backend"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mayllu%2Fmayllu-backend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mayllu%2Fmayllu-backend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mayllu%2Fmayllu-backend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mayllu%2Fmayllu-backend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Mayllu","download_url":"https://codeload.github.com/Mayllu/mayllu-backend/tar.gz/refs/heads/feature/mongodb-integration","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245211243,"owners_count":20578377,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api-rest","backend","mayllu","nestjs","postgresql","typeorm"],"created_at":"2024-10-28T21:19:18.778Z","updated_at":"2026-03-11T12:49:22.977Z","avatar_url":"https://github.com/Mayllu.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cimg src=\"https://github.com/Mayllu/.github/raw/main/profile/images/mayllu.png\"\u003e\u003c/img\u003e\n\n# 🚀 NestJS Backend For Mayllu\n\nBienvenido al proyecto de backend para Mayllu creado con **NestJS**. Este proyecto proporciona una base sólida y escalable para construir aplicaciones web modernas y eficientes.\n\n## 🛠️ Tecnologías Usadas\n\n- [NestJS](https://nestjs.com/) - Framework para construir aplicaciones del lado del servidor\n- [TypeScript](https://www.typescriptlang.org/) - Un superconjunto de JavaScript que añade tipos estáticos\n- [PostgreSQL](https://www.postgresql.org/) - Sistema de gestión de bases de datos relacional\n- [TypeORM](https://typeorm.io/) - ORM para TypeScript y JavaScript\n\n## 🚀 Archivo env\n\nEjemplo de archivo env para poder desarrollar el software frontend, reemplazar con sus propias api key\n\n```\nMAYLLU_MONGO_URI=\nMAYLLU_BACKEND_PORT=\nJWT_SECRET=\nB2_APPLICATION_KEY_ID=\nB2_APPLICATION_KEY=\nB2_BUCKET_ID=\nB2_BUCKET_NAME=\nGOOGLE_API_KEY=\n```\n\n## 📦 Instalación\n\nSigue estos pasos para configurar el proyecto en tu máquina local:\n\n1. **Clona el repositorio:**\n   ```bash\n   git clone https://github.com/tu-usuario/nestjs-backend.git\n   ```\n2. **Navega al directorio del proyecto:**\n   ```bash\n   cd nestjs-backend\n   ```\n3. **Instala las dependencias:**\n   ```bash\n   npm install\n   ```\n4. **Configura el archivo `.env`:**\n   Copia el archivo `.env.example` a `.env` y ajusta las variables según tu configuración.\n5. **Inicia el servidor:**\n   ```bash\n   npm run start:dev\n   ```\n\n## ⚙️ Estructura del Proyecto\n\n```\nnestjs-backend/\n│\n├── src/\n│   ├── app.module.ts        # Módulo raíz de la aplicación\n│   ├── main.ts              # Archivo de entrada\n│   ├── modules/             # Módulos de la aplicación\n│   ├── controllers/         # Controladores\n│   └── services/            # Servicios\n│\n├── .env                      # Variables de entorno\n├── package.json              # Dependencias y scripts\n└── README.md                 # Documentación del proyecto\n```\n\n## 🌟 Características\n\n- **RESTful API**: Crea y consume servicios RESTful fácilmente.\n- **Validación**: Uso de `class-validator` para validar los datos de entrada.\n- **Autenticación**: Implementación de JWT para proteger rutas y recursos.\n- **Interacción con Base de Datos**: Conexión a PostgreSQL usando TypeORM.\n- **Manejo de Errores**: Captura y manejo centralizado de errores.\n\n## 🔗 Enlaces Útiles\n\n- [Documentación de NestJS](https://docs.nestjs.com/)\n- [Ejemplo de API REST](https://docs.nestjs.com/techniques/http)\n- [Guía de TypeORM](https://typeorm.io/#/)\n\n## 🛠️ Contribución\n\nLas contribuciones son bienvenidas. Si deseas contribuir a este proyecto, por favor sigue estos pasos:\n\n1. Haz un fork del proyecto\n2. Crea una nueva rama (`git checkout -b feature/nueva-caracteristica`)\n3. Realiza tus cambios y haz commit (`git commit -m 'Añadir nueva característica'`)\n4. Envía tu rama (`git push origin feature/nueva-caracteristica`)\n5. Abre un Pull Request\n\n## 📄 Licencia\n\nEste proyecto está licenciado bajo la [MIT License](LICENSE).\n\n---\n\n¡Gracias por tu interés en este proyecto! Si tienes preguntas o sugerencias, no dudes en abrir un issue.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmayllu%2Fmayllu-backend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmayllu%2Fmayllu-backend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmayllu%2Fmayllu-backend/lists"}