{"id":29503868,"url":"https://github.com/sashinidawpadi/farmstack-project","last_synced_at":"2026-05-08T05:09:55.696Z","repository":{"id":304638522,"uuid":"1018975011","full_name":"SashiniDawpadi/farmstack-project","owner":"SashiniDawpadi","description":null,"archived":false,"fork":false,"pushed_at":"2025-07-14T09:56:11.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-14T12:40:07.388Z","etag":null,"topics":["fastapi","mongodb","react"],"latest_commit_sha":null,"homepage":"","language":"Python","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/SashiniDawpadi.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,"zenodo":null}},"created_at":"2025-07-13T13:19:58.000Z","updated_at":"2025-07-14T09:56:14.000Z","dependencies_parsed_at":"2025-07-14T12:40:13.280Z","dependency_job_id":"0d1f27f4-63a1-4724-8ed4-7eb5ec1507f8","html_url":"https://github.com/SashiniDawpadi/farmstack-project","commit_stats":null,"previous_names":["sashinidawpadi/farmstack-project"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/SashiniDawpadi/farmstack-project","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SashiniDawpadi%2Ffarmstack-project","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SashiniDawpadi%2Ffarmstack-project/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SashiniDawpadi%2Ffarmstack-project/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SashiniDawpadi%2Ffarmstack-project/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SashiniDawpadi","download_url":"https://codeload.github.com/SashiniDawpadi/farmstack-project/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SashiniDawpadi%2Ffarmstack-project/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265466219,"owners_count":23770507,"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":["fastapi","mongodb","react"],"created_at":"2025-07-15T23:01:32.364Z","updated_at":"2026-05-08T05:09:55.689Z","avatar_url":"https://github.com/SashiniDawpadi.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# FARM Stack Project\n\nA simple Task Manager application built using the **FARM stack**:  \n**FastAPI** (backend), **React** (frontend), and **MongoDB** (database).\n\n## 📁 Project Structure\n\n.\n├── backend/\n│ ├── database.py\n│ ├── main.py\n│ ├── model.py\n│ ├── Pipfile\n│ ├── Pipfile.lock\n│ └── requirements.txt\n├── frontend/\n│ ├── node_modules/\n│ ├── package.json\n│ ├── package-lock.json\n│ ├── public/\n│ └── src/\n├── .gitignore\n├── README.md\n\n## Features\n\n- Add, view, and delete tasks\n- FastAPI backend with MongoDB for data storage\n- React frontend with Bootstrap styling\n- RESTful API\n\n## Getting Started\n\n### Prerequisites\n\n- Python 3.10+\n- Node.js \u0026 npm\n- MongoDB running locally on default port (`mongodb://localhost:27017/`)\n\n---\n\n### Backend Setup\n\n1. **Install dependencies:**\n    ```sh\n    cd backend\n    pip install -r requirements.txt\n    ```\n\n2. **Run the FastAPI server:**\n    ```sh\n    uvicorn main:app --reload\n    ```\n    The API will be available at [http://localhost:8000](http://localhost:8000).\n\n---\n\n### Frontend Setup\n\n1. **Install dependencies:**\n    ```sh\n    cd frontend\n    npm install\n    ```\n\n2. **Start the React app:**\n    ```sh\n    npm start\n    ```\n    The app will open at [http://localhost:3000](http://localhost:3000).\n\n---\n\n## API Endpoints\n\n- `GET /api/todo` — Get all todos\n- `GET /api/todo{title}` — Get a todo by title\n- `POST /api/todo` — Create a new todo\n- `PUT /api/todo{title}` — Update a todo's description\n- `DELETE /api/todo{title}` — Delete a todo by title\n\n---\n\n## Folder Details\n\n- **backend/**: FastAPI app and MongoDB integration (main.py, database.py, model.py)\n- **frontend/**: React app (src/App.js, src/components/TodoListView.js, src/components/Todo.js)\n\n---\n\n## License\n\nThis project is licensed under the MIT License.\n\n---\n\n## Acknowledgements\n\n- [FastAPI](https://fastapi.tiangolo.com/)\n- [React](https://react.dev/)\n-","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsashinidawpadi%2Ffarmstack-project","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsashinidawpadi%2Ffarmstack-project","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsashinidawpadi%2Ffarmstack-project/lists"}