{"id":28789583,"url":"https://github.com/lemoncode/gex-backend-node","last_synced_at":"2025-07-18T04:37:25.523Z","repository":{"id":261594395,"uuid":"884370067","full_name":"Lemoncode/gex-backend-node","owner":"Lemoncode","description":null,"archived":false,"fork":false,"pushed_at":"2025-05-20T08:55:23.000Z","size":150,"stargazers_count":1,"open_issues_count":13,"forks_count":2,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-06-17T22:11:31.118Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Lemoncode.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null}},"created_at":"2024-11-06T16:18:51.000Z","updated_at":"2025-05-20T06:36:11.000Z","dependencies_parsed_at":"2025-01-19T17:36:48.854Z","dependency_job_id":"e4af8870-a597-4b0f-9686-056b2ab14a1f","html_url":"https://github.com/Lemoncode/gex-backend-node","commit_stats":null,"previous_names":["lemoncode/gex-backend-node"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Lemoncode/gex-backend-node","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lemoncode%2Fgex-backend-node","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lemoncode%2Fgex-backend-node/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lemoncode%2Fgex-backend-node/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lemoncode%2Fgex-backend-node/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Lemoncode","download_url":"https://codeload.github.com/Lemoncode/gex-backend-node/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lemoncode%2Fgex-backend-node/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265701409,"owners_count":23813751,"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":[],"created_at":"2025-06-17T22:11:06.994Z","updated_at":"2025-07-18T04:37:25.516Z","avatar_url":"https://github.com/Lemoncode.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gex-backend-node\n\n\u003e \u003e Note: We must be installed almost Node.js 22.11.0 or higher.\n\u003e \u003e\n\u003e \u003e [Install Node.js](https://nodejs.org/)\n\u003e \u003e\n\u003e \u003e we can also use [nvm for windows](https://github.com/coreybutler/nvm-windows/releases) to manage the Node.js versions\n\u003e \u003e or for linux/macOS we can use [nvm](https://github.com/nvm-sh/nvm?tab=readme-ov-file#installing-and-updating)\n\n## Steps to run the project\n\n### Installation\n\n```bash\nnpm install\n```\n\n### Run the project\n\nNow you can run the project.\n\n```bash\nnpm start\n```\n\nIt's important start the project before running the console runners because we will create .env file, if we don't have it yet,\nand then the next step will be create the seed data in the database.\n\n### Create seed data in the database\n\nYou can run the console runners to create seed data in the database.\n\n```bash\nnpm run start:console-runners\n```\n\nNow, you can select the option to install seed data.\n\n```bash\n❯   seed-data\n    exit\n```\n\nAfter select the option `seed-data` and you will insert the seed data in the database.\n\n### Endpoints now available\n\n#### Login:\n\n- [POST] http://localhost:3000/api/login\n\nRol usuario-administrador:\n\n```json\n{\n  \"email\": \"carlos.gonzalez@example.com\",\n  \"password\": \"carlos123\"\n}\n```\n\nRol Usuario-Escritura:\n\n```json\n{\n  \"email\": \"maria.martinez@example.com\",\n  \"password\": \"maria456\"\n}\n```\n\nRol Usuario-Lectura:\n\n```json\n{\n  \"email\": \"juan.rodriguez@example.com\",\n  \"password\": \"temp480\"\n}\n\n#### Get users:\n\n- [GET] http://localhost:3000/api/users\n- [GET] http://localhost:3000/api/users?page=1\u0026pageSize=10\n\n```\n\n```\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flemoncode%2Fgex-backend-node","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flemoncode%2Fgex-backend-node","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flemoncode%2Fgex-backend-node/lists"}