{"id":25238065,"url":"https://github.com/diagne245/ideasharing-app","last_synced_at":"2026-04-07T07:42:42.994Z","repository":{"id":268979387,"uuid":"906050958","full_name":"Diagne245/IdeaSharing-App","owner":"Diagne245","description":"App To Share Ideas","archived":false,"fork":false,"pushed_at":"2024-12-20T04:36:44.000Z","size":590,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-11T16:43:26.384Z","etag":null,"topics":["express","mongodb","mongoose","node","rest-api","vanillajs","webpack"],"latest_commit_sha":null,"homepage":"https://ideasharing.onrender.com/","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/Diagne245.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-12-20T04:07:41.000Z","updated_at":"2024-12-20T04:36:48.000Z","dependencies_parsed_at":null,"dependency_job_id":"64a68017-76a7-4e23-aba5-3a299db1550d","html_url":"https://github.com/Diagne245/IdeaSharing-App","commit_stats":null,"previous_names":["diagne245/ideasharing-app"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Diagne245%2FIdeaSharing-App","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Diagne245%2FIdeaSharing-App/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Diagne245%2FIdeaSharing-App/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Diagne245%2FIdeaSharing-App/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Diagne245","download_url":"https://codeload.github.com/Diagne245/IdeaSharing-App/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247385630,"owners_count":20930599,"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":["express","mongodb","mongoose","node","rest-api","vanillajs","webpack"],"created_at":"2025-02-11T16:43:23.683Z","updated_at":"2025-10-06T13:39:39.452Z","avatar_url":"https://github.com/Diagne245.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RandomIdeas App\n\nDemo Link: \u0026ensp;**https://ideasharing.onrender.com**\n\nThis is a fullstack application for sharing random ideas. It is a project from the [**Modern JS From The Beginning 2.0**](https://www.udemy.com/course/modern-javascript-from-the-beginning/?kw=modern+javascript+from+the+beg\u0026src=sac\u0026couponCode=LETSLEARNNOW) Traversy Media Udemy course.\n\nThis app includes a `Node.js`/`Express` **`REST API`** that uses `MongoDB` for a database. The client-side is built with `Webpack`.\n\n![app screenshot](/client/src/assets/screenshot.png)\n\n## Usage\n\n### Install Dependencies\n\nInstall dependencies on the front-end and back-end (Be Sure to be in the root folder of the project)\n\n### Front-End/Webpack\n\n```bash\nnpm install\ncd client\nnpm install\n```\n\n### Back-end/Express Server\n\n```bash\nnpm run dev (Nodemon)\n```\n\nVisit `http://localhost:5000`\n\n### Front-end/Webpack Dev Server\n\n```bash\ncd client\nnpm run dev\n```\n\nVisit `http://localhost:3000`\n\nTo build front-end production files\n\n```bash\ncd client\nnpm run build\n```\n\nThe production build will be put into the `public` folder, which is the Express static folder.\n\n### Environment Variables\n\nRename `.env-example` to `.env` and add your MongoDB URI to the `.env` file.\n\n```\nMONGO_URI=your_mongodb_uri\n```\n\n## REST Endpoints\n\n### Ideas\n\n| Endpoint       | Description    | Method | Body                    |\n| -------------- | -------------- | ------ | ----------------------- |\n| /api/ideas     | Get all ideas  | GET    | None                    |\n| /api/ideas/:id | Get idea by id | GET    | None                    |\n| /api/ideas     | Add idea       | POST   | { text, tag, username } |\n| /api/ideas/:id | Update idea    | PUT    | { text, tag, username } |\n| /api/ideas/:id | Delete idea    | DELETE | username                |\n\nWhen updating or deleting, the username must match the username of the idea creator.\n\n### Features to Add\n\n- #### implement authentication:\n  Add password field to schema and store it into database - encrypt it\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdiagne245%2Fideasharing-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdiagne245%2Fideasharing-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdiagne245%2Fideasharing-app/lists"}