{"id":23136999,"url":"https://github.com/shayanriyaz/woofer","last_synced_at":"2026-04-07T22:31:59.803Z","repository":{"id":102581027,"uuid":"290847788","full_name":"ShayanRiyaz/Woofer","owner":"ShayanRiyaz","description":"A Twitter-like platform, but for dogs","archived":false,"fork":false,"pushed_at":"2020-08-27T18:16:38.000Z","size":1872,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-22T21:42:26.962Z","etag":null,"topics":["express","javascript","mongodb","nodejs","skeleton-css"],"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/ShayanRiyaz.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":"2020-08-27T18:07:35.000Z","updated_at":"2020-08-27T18:43:47.000Z","dependencies_parsed_at":null,"dependency_job_id":"58fd59ea-4039-4cbc-b1e3-f75ad6407f70","html_url":"https://github.com/ShayanRiyaz/Woofer","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ShayanRiyaz/Woofer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ShayanRiyaz%2FWoofer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ShayanRiyaz%2FWoofer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ShayanRiyaz%2FWoofer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ShayanRiyaz%2FWoofer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ShayanRiyaz","download_url":"https://codeload.github.com/ShayanRiyaz/Woofer/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ShayanRiyaz%2FWoofer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31532238,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-07T16:28:08.000Z","status":"ssl_error","status_checked_at":"2026-04-07T16:28:06.951Z","response_time":105,"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":["express","javascript","mongodb","nodejs","skeleton-css"],"created_at":"2024-12-17T12:26:28.613Z","updated_at":"2026-04-07T22:31:59.787Z","avatar_url":"https://github.com/ShayanRiyaz.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Woofer - Twitter for Dogs\n\nA basic twitter clone built to demonstrate the full stack 🥞 (client, server, database).\n\nWith the following features:\n\n* Dogs can send a woof \n* Dogs can see all woogs that have been sent 🐦\n\n\n![Woofer](assets/woofer.png)\n\n## Objectives\n\n* [ ] 📝 Diagram the Full Stack\n* [x] 🔎 Differentiate between Client and Server\n* [x] ⌨️ Get user input on the Client\n* [x] ➡️ Send user input from the client with fetch to the server\n* [x] 🗃 Store data in a database\n* [x] 🔍 Retrieve data from a database on the Server\n* [x] ⬅️ Retrieve data from a server on the client using Fetch\n* [x] 🙈 Hide/Show elements on the client\n* [x] ✨ Add elements to the page on the client\n* [ ] 🚀 Deploy the client with now.sh\n* [ ] 🚀 Deploy the database with mlab\n* [ ] 🚀 Deploy the server with now.sh\n\n## Front-end\n\n* [x] Create client folder\n* [x] Setup index.html\n* [x] Bring in Skeleton CSS\n  * http://getskeleton.com/\n  * https://cdnjs.cloudflare.com/ajax/libs/skeleton/2.0.4/skeleton.min.css\n* [x] Create Header\n* [x] Create form\n  * [x] Name\n  * [x] Content\n  * [x] u-full-width to both inputs\n* [x] Listen for form submit\n* [x] Hide the form\n* [x] Show loading spinner\n* [x] Get data from form and log it\n* ✅ Get user input on the Client\n* ✅ Hide/Show elements on the client\n\n## Back-end\n\n* [x] Create server folder\n* [x] npm init -y\n* [x] npm install express morgan\n* [x] Setup index.js\n* [x] Add GET / route\n* [x] Add POST /woofs route\n  * [x] log out req.body\n\n## Front-end\n\n* [x] fetch POST /woofs with form data\n* [x] See the CORS error and revel in this moment\n* ✅ Send user input from the client with fetch to the server\n\n## Back-end\n\n* [x] npm install cors\n* [x] Make sure the server is recieving the data\n* [x] Add JSON body parser middleware\n* [x] Validate name and content\n  * [x] Must be a string\n  * [x] Cannot be empty\n* [x] If not valid\n  * [x] Error code 422\n  * [x] Invalid woof, must contain name and content\n* [x] Setup DB Connection\n  * [x] npm install monk\n  * [x] connect to db\n  * [x] create document collection (woofs)\n* [x] If Valid\n  * [x] Create woof object with\n    * [x] name, content, created_date\n  * [x] Insert into DB\n  * [x] Respond with created woof object\n* ✅ Store data in a database\n\n## Front-end\n\n* [ ] Log out created woof after POST request\n* [ ] Show the form\n* [ ] Hide loading spinner\n\n## Back-end\n\n* [ ] GET /woofs\n  * [ ] Respond with woofs from DB\n* ✅ Retrieve data from a database on the Server\n\n## Front-end\n\n* [ ] fetch GET /woofs\n  * [ ] Iterate over array\n  * [ ] Append each to page\n  * [ ] Reverse before appending\n  * [ ] Show the form\n  * [ ] Hide loading spinner\n* [ ] fetch GET /woofs after creating a woof\n* ✅ Retrieve data from a server on the client using Fetch\n* ✅ Hide/Show elements on the client\n* ✅ Add elements to the page on the client\n\n## Back-end\n\n* [x] npm install bad-words\n  * [x] Use filter before inserting into DB\n* [x] npm install express-rate-limit\n  * [x] Limit to 1 request every 15 seconds\n\n## Deploy\n\n* ✅ Deploy server with vercel\n  * [x] Setup environment variables\n    * [x] Database connection\n      * process.env.MONGO_URI\n  * ✅ Show mlab\n  * [ ] Deploy with environment variable\n    * vercel -e MONGO_URI=@woofer-db\n  * [ ] Add alias\n* ✅ Deploy client folder with vercel\n  * [ ] Set API_URL based on hostname\n\n## What's next?\n\n* Add comments/replies to a woof\n* User Accounts\n  * Don't just have the user enter their name\n  * Sign up/Login\n* User Profiles\n  - Only show woof from a given user\n* Search Woof\n* Hashtags\n* User @mentions\n* Realtime feed of woof\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshayanriyaz%2Fwoofer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshayanriyaz%2Fwoofer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshayanriyaz%2Fwoofer/lists"}