{"id":19228086,"url":"https://github.com/agust613/don_bosco_labs_back","last_synced_at":"2026-04-12T09:45:15.060Z","repository":{"id":231179748,"uuid":"781140360","full_name":"AgusT613/don_bosco_labs_back","owner":"AgusT613","description":"Don Bosco Clinical Laboratory Backend","archived":false,"fork":false,"pushed_at":"2024-04-18T13:36:14.000Z","size":31,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-04T22:26:40.759Z","etag":null,"topics":["api-rest","backend","dotenv","express","http","nodejs","postgres","requests","typescript"],"latest_commit_sha":null,"homepage":"","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/AgusT613.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-04-02T20:29:07.000Z","updated_at":"2024-04-02T22:57:22.000Z","dependencies_parsed_at":"2024-04-18T13:58:16.088Z","dependency_job_id":"6309c5a8-aea8-4b88-b947-a2b4fc77ac40","html_url":"https://github.com/AgusT613/don_bosco_labs_back","commit_stats":null,"previous_names":["agust613/don_bosco_labs_backend","agust613/don_bosco_labs_back"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AgusT613%2Fdon_bosco_labs_back","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AgusT613%2Fdon_bosco_labs_back/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AgusT613%2Fdon_bosco_labs_back/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AgusT613%2Fdon_bosco_labs_back/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AgusT613","download_url":"https://codeload.github.com/AgusT613/don_bosco_labs_back/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240302450,"owners_count":19780032,"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","dotenv","express","http","nodejs","postgres","requests","typescript"],"created_at":"2024-11-09T15:26:41.597Z","updated_at":"2026-04-12T09:45:10.037Z","avatar_url":"https://github.com/AgusT613.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Clinical Laboratory - Backend Project\n\n## Installation\n\n- Clone and install dependencies\n\n```bash\ngit clone https://github.com/AgusT613/don_bosco_labs_back\n\ncd don_bosco_labs_backend\n\nnpm install\n```\n\n- Create a `.env` file\n\n```bash\nEXPRESS_PORT = your_express_port            # Ex. 8080\n    # Postgres Connection\nPG_HOST = \"your_postgres_host\"\nPG_USER = \"your_postgres_user\"\nPG_PASSWORD = \"your_postgres_password\"\nPG_DATABASE = \"your_database_name\"          # Ex. DonBoscoLabs\nPG_PORT = your_postgres_port                # By default postgres uses 5432 port\n    # Frontend Allowed Origin\nALLOWED_ORIGIN = \"your_frontend_origin_url\"\n```\n\n- Create the database with postgres using `psql` or `pgAdmin`\n- You can copy the sql code on `src/api/db/db.sql`\n\n```sql\nCREATE DATABASE \"DonBoscoLabs\";\n\nCREATE TABLE IF NOT EXISTS staff (\n    user_id SERIAL PRIMARY KEY,\n    name varchar(45) DEFAULT NULL,\n    surname varchar(45) DEFAULT NULL,\n    address varchar(50) DEFAULT NULL,\n    dni varchar(8) DEFAULT NULL,\n    email varchar(45) NOT NULL,\n    password varchar(100) NOT NULL,\n    entry_date date DEFAULT NULL,\n    area_id int DEFAULT NULL,\n    job_position_id int DEFAULT NULL\n);\n\nINSERT INTO staff (email, password) VALUES ('andreszenase@gmail.com', 'andres123456789'), ('mariamartinez@gmail.com', 'maria123456789');\n```\n\n- Transpile the proyect from TS to JS\n\n```bash\nnpm run build\n```\n\n- So as to finally run the project using:\n\n```bash\nnpm run dev\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fagust613%2Fdon_bosco_labs_back","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fagust613%2Fdon_bosco_labs_back","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fagust613%2Fdon_bosco_labs_back/lists"}