{"id":23463571,"url":"https://github.com/harmnot/tinder-cloning","last_synced_at":"2026-04-16T08:31:43.207Z","repository":{"id":224916679,"uuid":"764539940","full_name":"harmnot/tinder-cloning","owner":"harmnot","description":"a simple dating app that has swipping mechanishm","archived":false,"fork":false,"pushed_at":"2024-03-01T15:44:18.000Z","size":77,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-12T13:15:37.246Z","etag":null,"topics":["containers","dating-app","docker","docker-compose","go","go-chi","golang","jwt","jwt-authentication","postgresql"],"latest_commit_sha":null,"homepage":"ec2-44-203-163-253.compute-1.amazonaws.com:9191","language":"Go","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/harmnot.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,"zenodo":null}},"created_at":"2024-02-28T09:08:12.000Z","updated_at":"2024-02-28T23:24:42.000Z","dependencies_parsed_at":"2024-12-24T09:13:09.314Z","dependency_job_id":"fde71ddd-175e-4ff9-b570-89289449cb95","html_url":"https://github.com/harmnot/tinder-cloning","commit_stats":null,"previous_names":["harmnot/tinder-cloning"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/harmnot/tinder-cloning","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harmnot%2Ftinder-cloning","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harmnot%2Ftinder-cloning/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harmnot%2Ftinder-cloning/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harmnot%2Ftinder-cloning/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/harmnot","download_url":"https://codeload.github.com/harmnot/tinder-cloning/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harmnot%2Ftinder-cloning/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31877479,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-16T07:36:03.521Z","status":"ssl_error","status_checked_at":"2026-04-16T07:35:53.576Z","response_time":69,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["containers","dating-app","docker","docker-compose","go","go-chi","golang","jwt","jwt-authentication","postgresql"],"created_at":"2024-12-24T09:12:57.437Z","updated_at":"2026-04-16T08:31:43.191Z","avatar_url":"https://github.com/harmnot.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Endpoint URL\nec2-44-203-163-253.compute-1.amazonaws.com:9191\n\n# Introduction \nThis is a simple REST API for a simple dating application like Tinder / Bumble. This application is built using Go and PostgreSQL. This application has the following features:\n- User registration\n- User login\n- User profile\n- Make reaction to other user\n- Memberships (free, premium and gold) with different features\n\n# Before run\nmake sure you have installed the following tools:\n- Install [Go - 1.22.0](https://www.python.org/downloads/)\n- Install [Docker - 4.27.2](https://www.docker.com/products/docker-desktop)\n- Install [Docker Compose](https://docs.docker.com/compose/install/)\n- make sure your OS support to run Makefile\n- install [Dbmate](https://github.com/amacneil/dbmate) for database migration\n\n# How to run\n- Clone this repository;\n- Open terminal and navigate to the project folder;\n- after install `Dbmate`, run docker database by running `make run-db`, and wait until the database is up;\n- Run `make migrate-db-up` to migrate database;\n- Run `make run-app` to run the application;\n\n\u003e if you don't want to use Dbmate, you can manually the query in `migrations` folder into your database UI.\n\u003e\n\u003e also if you run the test, you can run `make test` to run the test.\n\n# Code Structure\nThe code structure is divided into several packages. Each package has its own responsibility. The following is the code structure:\n- `migrations` folder contains the database migration files\n- `app` package contains the main application code\n- `models` package contains the models for the application\n- `pkg` package contains the common packages for the application such as driver,middleware, mapper json, and util.\n   - `driver` package contains the database driver / connector for database connection\n   - `middleware` package contains the middleware for the application\n   - `util` package contains the utility for the application\n- `services` package contains the services for the application\n   - `handler` package contains the handler http for the application\n   - `repository` package contains the repository for the application for managing the database\n   - `usecase` package contains the logic for the application\n   - `schema` package contains the schema for the application, such as request and response\n- `Makefile` contains the commands to run the application\n- `tinder-cloning.postman_collection.json` contains the API documentation\n- `Dockerfile` contains the Dockerfile for the application\n- `docker-compose.yml` contains the Docker Compose file\n- `go.mod` and `go.sum` contains the Go module files\n- `main.go` contains the main application file\n- `README.md` contains the documentation\n- `.env` contains the environment variables\n- `.gitignore` contains the files and folders to be ignored by Git\n\n# API Documentation\nYou can use POSTMAN to test the API. The API documentation can be found on this root folder with the name `tinder-cloning.postman_collection.json`\n\n# Database Design\n![tindercloning-database-design](https://github.com/harmnot/tinder-cloning/assets/42674439/319709da-6a2c-42ba-833e-1c4050b16265)\n\n# Sequence Diagram\n![tinder-cloning-sequence](https://github.com/harmnot/tinder-cloning/assets/42674439/0ac8e3ff-0325-4754-93ae-00093d3a9920) \\\n[Sequence Codes by PlantUML](https://www.plantuml.com/plantuml/uml/xLRDRjim3BxhANZhTYYsNNleEdJOBZqCsnCm5XqBbIMFb9FcxMU5jXCLiRVULg06uWF5x-CFFp6-auIS-jQRBSU-WtiKWgkVj7MIYA_ClNSKqlKjVEcw6_Zcl8SwSYi6VO8TUcSnaPh0Oa93NWXSE1wf9KElRvNe1gI9Uo3coD2I26v959DzbN54V1qC6nIwWIqbw8LOVJO7e1QTXmz7Oy2M30nFpgXgg7fKN_HCQ0VV9oVfim5z9jBhssD1J1Mv7K5gICbThG28324UKLhHQ1zvBjIarMGgJ6K6F7QJRC4NOYeubLJpQb0Qw51a7zcUpiks2Ewch4EAOCS30nTpxAkAHEPaD9LWpVGh1F0GjouiJn_UZIF0OESquVr_80gpC66hRi_ZKh1d93k7aE8ZXSjD-Ku9Vd2idITvtfjyzk0awIW6apd9qTM3jVAzfP4Tm9n4CDcM5SNqktTCLZqLsg1CmFD0QfiwDWMPEg-0LVcMlafHaXOwtH6x-Z0wP37GKsAi4gHcX6b3vXwR2pe-kxGjjHjYQLntGTCBaor1TRmO8lOXGTKpKr3PP7c2x5r7aiMJeiL3HgxhHtaKTbewiUsGwIoFufxNJAGXCTY2OTuGdpwQlwsLcMK6ASU0XUG6BotXNoE7c3Aog1mkN34j6oi5xnjNDHchD1OsL4UctCk2Pwc7MHK-tv9Ehz5IrOMJ53LrJAthMuWCs-ZFX_yAQWWMpBnqo-NoAoUpk5xqD8TEo5kQUT-sp6lVCczRPbPLAUrd6PGawzTpbe1spidBgAV2Ig_2PQs7Qx7iKgpSgGEbrK-zgJIbcbtBJkWt3PDqCGYjf3jz44vfZwuP_OA5-qgc-JRDygydl-w6Lz_wFm00)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fharmnot%2Ftinder-cloning","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fharmnot%2Ftinder-cloning","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fharmnot%2Ftinder-cloning/lists"}