{"id":16326784,"url":"https://github.com/cihat/delaygram","last_synced_at":"2026-05-03T05:40:12.514Z","repository":{"id":112990690,"uuid":"595306759","full_name":"cihat/delaygram","owner":"cihat","description":"full-stack instagram clone.","archived":false,"fork":false,"pushed_at":"2023-02-03T12:31:44.000Z","size":1017,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-14T22:12:29.612Z","etag":null,"topics":["clone-project","javascript","social-media","typescript"],"latest_commit_sha":null,"homepage":"https://instagram-clone-cihat.vercel.app","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/cihat.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}},"created_at":"2023-01-30T20:19:07.000Z","updated_at":"2025-01-17T00:07:31.000Z","dependencies_parsed_at":null,"dependency_job_id":"edf9464d-46b6-4dc6-aad8-4f0b331be68f","html_url":"https://github.com/cihat/delaygram","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":"cihat/stack","purl":"pkg:github/cihat/delaygram","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cihat%2Fdelaygram","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cihat%2Fdelaygram/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cihat%2Fdelaygram/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cihat%2Fdelaygram/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cihat","download_url":"https://codeload.github.com/cihat/delaygram/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cihat%2Fdelaygram/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32559716,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-03T03:21:47.309Z","status":"ssl_error","status_checked_at":"2026-05-03T03:21:43.884Z","response_time":103,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["clone-project","javascript","social-media","typescript"],"created_at":"2024-10-10T23:09:32.780Z","updated_at":"2026-05-03T05:40:12.489Z","avatar_url":"https://github.com/cihat.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# stack\n\n## Todos\n\n**Frontend**\n\n- [X] Change frontend framework to React/TypeScript from Vue.js\n- [ ] Create React project folder structure from !research\n- [ ] Create frontend structure with React\n- [ ] Add state managment library(redux or zustand or other things(research)) to frontend\n- [ ] a lot of things...\n\n**Backend**\n\n- [ ] Create UML diagram with PlantUML for backend\n- [ ] Create backend RESTful API structure with Node.js/Express\n- [ ] Add database(maybe mongoDB or other thing(research)) connection to backend\n- [ ] Add authentication(local or google or instagram auth) to backend\n- [ ] a lot of things...\n\n---\n\nA starter repository for MongoDB, Node.js, and React, with a local environment based on Docker.\n\n# Installation\n\n## Running the stack\n\n```sh\n$ docker-compose up\n```\n\n## Accessing the stack from a browser\n\nThe starter stack works with a load balancer that binds to ports 80 and 443. It currently serves the domain http://stack.localhost. In order to reach the frontend through the stack, you need to edit your `hosts` file (usually under `/etc/hosts` in UNIX environments and `C:\\Windows\\System32\\Drivers\\etc\\hosts` in Windows) and add the following line:\n\n```\n127.0.0.1 stack.localhost\n```\n\nNow if you visit http://stack.localhost, you will be greeted with the frontend starter project.\n\n## Changing the local domain\n\nIf you wish to use a domain name other than http://stack.localhost, simply set the environment variable `DOMAIN` to any domain you want.\n\n```sh\n$ DOMAIN=another-domain.localhost docker-compose up\n```\n\nYou then also need to update your `hosts` file accordingly.\n\n## Debugging\n\nYou can debug the backend while it's running in VSCode. Instead of running `docker-compose up`, run the following command:\n\n```sh\n$ docker-compose -f docker-compose.yml -f docker-compose.debug.yml up\n```\n\nThis starts the backend service in the debug mode, so you can use the built-in debug task `Attach to backend` to debug your backend service.\n\n# Running tests\n\n## Running backend tests\n\n```sh\n$ cd backend\n$ npm i\n$ npm test\n```\n\n## Running frontend tests\n\n```sh\n$ cd frontend\n$ npm i\n$ npm test:unit\n$ npm test:e2e\n```\n\n# Linting\n\nRun `npm install` on the root folder and it will set up a pre-commit hook to lint the staged files. You will also have two lint commands, `npm run lint` and `npm run lint-staged` that you can run on the root folder.\n\nThese commands run the individual `lint` and `lint-staged` scripts in both the `frontend` and the `backend` folders, and they will respect individual configurations of these folders.\n\n# License\n\nMIT License\n\nCopyright (c) 2023 Cihat Salik\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcihat%2Fdelaygram","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcihat%2Fdelaygram","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcihat%2Fdelaygram/lists"}