{"id":19570897,"url":"https://github.com/ariessa/swipa-backend","last_synced_at":"2026-04-10T15:41:37.030Z","repository":{"id":239190634,"uuid":"798822617","full_name":"ariessa/swipa-backend","owner":"ariessa","description":"The backend part of Swipa, a dating app. Built using Express.","archived":false,"fork":false,"pushed_at":"2024-05-10T15:15:06.000Z","size":417,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-09T02:56:09.656Z","etag":null,"topics":["docker","docker-compose","express-js","javascript","jest","tdd-javascript"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/ariessa.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-05-10T14:45:14.000Z","updated_at":"2024-05-10T15:15:09.000Z","dependencies_parsed_at":"2024-05-10T16:01:15.263Z","dependency_job_id":"ae0607f2-3182-4adf-a849-7d078b149a22","html_url":"https://github.com/ariessa/swipa-backend","commit_stats":null,"previous_names":["ariessa/swipa-backend"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ariessa%2Fswipa-backend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ariessa%2Fswipa-backend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ariessa%2Fswipa-backend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ariessa%2Fswipa-backend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ariessa","download_url":"https://codeload.github.com/ariessa/swipa-backend/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240839527,"owners_count":19866161,"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":["docker","docker-compose","express-js","javascript","jest","tdd-javascript"],"created_at":"2024-11-11T06:16:48.858Z","updated_at":"2025-12-30T22:53:03.322Z","avatar_url":"https://github.com/ariessa.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003eSwipa Backend\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e  \n❤️ Swipa Backend is the backend part of Swipa, a dating app.\n\u003c/p\u003e\n\n\u003cbr /\u003e\n\n## Entity Relationship Diagram\n\n\u003cp align=\"center\"\u003e\n\u003cimg src=\"/previews/swipa_erd.png\"/\u003e\n\u003c/p\u003e\n\n\u003c/br\u003e\n\n## Prerequisites\nAll installation instructions are geared for macOS Apple Silicon system. By default, all UNIX-based and Linux-based system are already installed with `make`.\n\nFor Windows system, `make` can be installed using 3 ways:\n\n- Using Make for Windows\n- Using `chocolatey` to install make\n- Using Windows Subsystem for Linux (WSL2)\n\n\u003cbr /\u003e\n\n## How to run it locally\n\n- Clone repository\n\n    ```\n    git clone git@github.com:ariessa/swipa-backend.git\n    ```\n\n- Create `.env` file and insert values\n\n    ```\n    BACKEND_PORT=\"\"\n    POSTGRES_HOST=\"\"\n    POSTGRES_PORT=\"\"\n    POSTGRES_DATABASE=\"\"\n    POSTGRES_USER=\"postgres\"\n    POSTGRES_PASSWORD=\"\"\n    FRONTEND_DEV_URL=\"\"\n    ```\n\n- Build and start all Docker containers\n\n    ```\n    make up\n    ```\n\n\u003cbr /\u003e\n\n## How to run the tests\n\n- Get a list of unit tests and their verbose results\n\n    ```\n    make tests\n    ```\n\n    \u003cp align=\"center\"\u003e\n    \u003cimg src=\"/previews/verbose-test.png\"/\u003e\n    \u003c/p\u003e\n\n- Get test coverage\n\n    ```\n    make tests-coverage\n    ```\n\n    \u003cp align=\"center\"\u003e\n    \u003cimg src=\"/previews/test-coverage.png\"/\u003e\n    \u003c/p\u003e\n\n\u003cbr /\u003e\n\n## Useful Commands\n\n- Run SQL query inside containerised PostgreSQL database\n\n    ```\n    # Start a Bash shell inside Docker container 'swipa-database'\n    docker exec -it swipa-database /bin/bash\n\n    # Switch the user to the 'postgres' user within the Docker container\n    su - postgres\n\n    # Open PostgreSQL CLI\n    psql\n\n    # Connect to database 'swipa'\n    \\c swipa\n\n    # Run query\n    # Example: select * from users;\n    select \u003ccolumn(s)\u003e from \u003ctable\u003e;\n    ```\n\n\u003cbr /\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fariessa%2Fswipa-backend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fariessa%2Fswipa-backend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fariessa%2Fswipa-backend/lists"}