{"id":23128997,"url":"https://github.com/barbaraeguche/cartdash","last_synced_at":"2026-04-12T00:02:09.693Z","repository":{"id":268154683,"uuid":"901501663","full_name":"barbaraeguche/cartdash","owner":"barbaraeguche","description":"🧺 a minimal grocery shopping application built with react \u0026 flask.","archived":false,"fork":false,"pushed_at":"2025-02-09T04:39:04.000Z","size":223,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-09T05:25:51.673Z","etag":null,"topics":["flask","framer-motion","grocery","mongo-atlas","render","toast","vercel","vite"],"latest_commit_sha":null,"homepage":"https://cartdash.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/barbaraeguche.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":"2024-12-10T19:21:12.000Z","updated_at":"2025-02-09T04:39:08.000Z","dependencies_parsed_at":"2024-12-14T19:18:39.218Z","dependency_job_id":"484fa557-0316-431e-8f3d-e52f73e78f5c","html_url":"https://github.com/barbaraeguche/cartdash","commit_stats":null,"previous_names":["barbaraeguche/cartdash"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/barbaraeguche%2Fcartdash","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/barbaraeguche%2Fcartdash/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/barbaraeguche%2Fcartdash/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/barbaraeguche%2Fcartdash/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/barbaraeguche","download_url":"https://codeload.github.com/barbaraeguche/cartdash/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247130933,"owners_count":20888681,"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":["flask","framer-motion","grocery","mongo-atlas","render","toast","vercel","vite"],"created_at":"2024-12-17T10:07:44.488Z","updated_at":"2026-04-12T00:02:09.623Z","avatar_url":"https://github.com/barbaraeguche.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cartdash 🧺\na simple and responsive grocery **crud** application with smooth animations, and a clean ui.\n\n## tech stack ✨\n- **frontend:** built with vite, react, tailwind css, and framer motion.  \n- **backend:** powered by flask with pymongo for database integration.  \n- **deployment:** frontend hosted on vercel; backend deployed on render.  \n\n## features 👾\n- **crud functionality:** add, edit, and delete grocery items. \n- **database integration:** uses pymongo with mongodb atlas for data storage. \n- **ui/ux:** clean and responsive interface with smooth transitions powered by framer motion. \n- **notifications:** toast notifications for user actions.\n- **deployment:** frontend hosted on vercel; backend on render.\n\n## what I learned 💭\n- **flask \u0026 pymongo:** first experience using flask with pymongo to handle crud operations.\n- **http requests:** learned to use axios for http requests \u0026 resolved challenges with axios delete, which does not accept a data parameter (used query strings instead).\n- **jsonify responses:** realized all api responses must be jsonified for crud operations to work correctly.\n- **inline editing:** implemented in-line editing for grocery items.\n- **deployment:** successfully deploying this project. the hard part was making mongodb atlas functional, but it was worth the effort.\n\n## .env files 📄\nthis project requires `.env` files for both the server and client, located in their respective folders. rename the `.env.example` file in each folder to `.env`, and update it with the necessary values. ensure these files are configured properly and not committed to version control.\n\n## running the project 🏁\nto get the project up and running on your local machine, follow these steps:\n\n- **ensure [python](https://www.python.org/downloads/) and [node.js](https://nodejs.org/en) are installed.**\n1. **clone the repository:**\n```bash\ngit clone https://github.com/barbaraeguche/cartdash.git\n```\n\n2. **navigate to the project directory:**\n```bash\ncd cartdash\n```\n\n3. **run the backend:**\n   1. **navigate to server directory:**\n   ```bash\n   cd server\n   ```\n   2. **install and activate virtual environment:**\n   ```bash\n   python3 -m venv venv\n   source ./venv/bin/activate\n   pip install -r requirements.txt\n   ```\n   3. **run the flask app:**\n   ```bash\n   python3 app.py\n   ```\n   4. open [http://127.0.0.1:5000](http://127.0.0.1:5000) with your browser.\n\n4. **run the frontend:**\n   1. **navigate to client directory:**\n   ```bash\n   cd client\n   ```\n   2. **install dependencies:**\n   ```bash\n   pnpm install\n   ```\n   3. **start the development server:**\n   ```bash\n   pnpm run dev\n   ```\n   4. open [http://localhost:5173/](http://localhost:5173/) with your browser.\n\n## preview 📸\nhttps://github.com/user-attachments/assets/e6b21f16-670c-4ca9-abb7-5766512db8f4\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbarbaraeguche%2Fcartdash","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbarbaraeguche%2Fcartdash","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbarbaraeguche%2Fcartdash/lists"}