{"id":14967557,"url":"https://github.com/cihat/full-stack-twitter-clone","last_synced_at":"2025-05-02T22:30:55.470Z","repository":{"id":38418163,"uuid":"392250057","full_name":"cihat/full-stack-twitter-clone","owner":"cihat","description":"loading full-stack developer 🚀","archived":false,"fork":false,"pushed_at":"2024-06-03T07:01:25.000Z","size":1230,"stargazers_count":105,"open_issues_count":7,"forks_count":37,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-07T07:36:48.663Z","etag":null,"topics":["clone-project","express","google-cloud","javascript","mevn","mevn-project","mongodb","mongoose","nodejs","pug","scss","twitter-clone","vuejs"],"latest_commit_sha":null,"homepage":"https://full-stack-twitter-clone-frontend.vercel.app/","language":"Vue","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":"2021-08-03T08:45:20.000Z","updated_at":"2025-02-16T11:45:17.000Z","dependencies_parsed_at":"2024-08-23T14:26:27.426Z","dependency_job_id":"2b8ef181-f597-40c0-b30a-6c70971e537a","html_url":"https://github.com/cihat/full-stack-twitter-clone","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cihat%2Ffull-stack-twitter-clone","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cihat%2Ffull-stack-twitter-clone/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cihat%2Ffull-stack-twitter-clone/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cihat%2Ffull-stack-twitter-clone/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cihat","download_url":"https://codeload.github.com/cihat/full-stack-twitter-clone/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252116022,"owners_count":21697296,"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":["clone-project","express","google-cloud","javascript","mevn","mevn-project","mongodb","mongoose","nodejs","pug","scss","twitter-clone","vuejs"],"created_at":"2024-09-24T13:38:15.864Z","updated_at":"2025-05-02T22:30:50.514Z","avatar_url":"https://github.com/cihat.png","language":"Vue","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Full Stack Twitter Clone\n\nIn the project, I am doing it to develop myself on the back-end side. I spend my experience and effort to become a full-stack developer using Node.js and mongoDB.\n\nIn this project, I preferred Node.js in Back-end, mongoDB as Service, object document mapper (ODM) mongoose, Vue.js and pug in Front-end, SCSS for styling. I'm thinking of deploying my project to Google Cloud.\n\n## Running with Docker\n\n```sh\n$ docker-compose up\n```\n\n## Running without Docker\n\nYou must have mongoDB, node.js and npm installed on your computer.\nThen, first, after the `cd backend` command, then the `npm i` or `npm install` command, if you are going to develop, you can restore the backend with the `npm watch ` command. If you have seen\n\n```\nstarted listening on http://localhost:3000/ in your terminal we are connected to mongoDB!!!🤪\n```\n\nif there is this command, it means its backend is working fine.\n\nThen for the frontend, you can install the packages by saying `yarn` in the `frontend` folder, then you can raise the frontend with `yarn serve`. If there is no problem, you can completely restore the project at `http://localhost:8080/`.\n\n## Running backend\n\n```sh\n$ cd backend\n$ npm i\n$ npm start\n$ npm watch #run with nodemon for development\n```\n\n## Running frontend\n\n```sh\n$ cd frontend\n$ yarn\n$ yarn serve\n```\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### UML Diagram\n\n![Class Diagram(Plant Uml)](https://user-images.githubusercontent.com/57585087/129368881-67e96d9b-2346-49d2-a288-05bae52aef1f.png)\n\n![Basic version](https://user-images.githubusercontent.com/57585087/129048076-a2b17cc9-3bc5-4447-baaa-14100f64aa03.png)\n\n![Basic-II version](https://user-images.githubusercontent.com/57585087/129362860-a552ed07-9426-4d87-9115-e35777793d8c.png)\n\nThe starter repository of this project has been forked from [dashersw/stack](https://github.com/dashersw/stack)\n\n### Request end-points\n\n```javascript\nGET  http://localhost:3000/users HTTP/1.1\n\n###\n\nPOST  https://cs-twitter-clone-backend.herokuapp.com/users HTTP/1.1\ncontent-type: application/json\n\n{\"name\": \"John Doe\", \"handle\": \"@johnDoe\", \"email\": \"john_doe@twitter.com\"}\n\n###\n\nDELETE  http://localhost:3000/users/611390360384a2befbbc7466 HTTP/1.1\n\n###\n\nGET http://localhost:3000/users/6113b3d9e2c6234211727249\n\n###\n\nPOST    http://localhost:3000/users/617e978514928da134c12366/tweets HTTP/1.1\ncontent-type: application/json\n\n{\"body\": \"This is a test tweet.\"}\n\n###\n\nPATCH   http://localhost:3000/users/6113a464e332bd183bf840d2 HTTP/1.1\ncontent-type: application/json\n\n{\"name\": \"Cihat\"}\n\n###\n\nPATCH   http://localhost:3000/users/611546eebd96a6a5e85c821d/following HTTP/1.1\ncontent-type: application/json\n\n{\"userToFollowId\": \"6113dc26306ad96bcd30b251\"}\n\n###\n\nPATCH   http://localhost:3000/users/612cea71e2e1167e4e1547ce/like HTTP/1.1\ncontent-type: application/json\n\n{\"likeTweetId\": \"612cea85e2e1167e4e1547d1\"}\n\n###\n\nPATCH   http://localhost:3000/users/6113dc26306ad96bcd30b251/retweet HTTP/1.1\ncontent-type: application/json\n\n{\"retweetId\": \"6113de87306ad96bcd30b50b\"}\n\n###\n\n\nGET  https://full-stack-twitter-clone-backend-i2smrx00x-cihat.vercel.app/users HTTP/1.1\n\n###\n```\n\n------------------------------------\n\nMIT License\n\nCopyright (c) 2022 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.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcihat%2Ffull-stack-twitter-clone","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcihat%2Ffull-stack-twitter-clone","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcihat%2Ffull-stack-twitter-clone/lists"}