{"id":50507370,"url":"https://github.com/olillin/agile-project","last_synced_at":"2026-06-02T17:01:49.336Z","repository":{"id":352705126,"uuid":"1206901209","full_name":"olillin/agile-project","owner":"olillin","description":"Don't Spill the Tea","archived":false,"fork":false,"pushed_at":"2026-05-22T15:13:01.000Z","size":638,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-22T17:16:31.017Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/olillin.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-04-10T11:17:24.000Z","updated_at":"2026-05-22T12:35:25.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/olillin/agile-project","commit_stats":null,"previous_names":["olillin/agile-project"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/olillin/agile-project","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/olillin%2Fagile-project","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/olillin%2Fagile-project/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/olillin%2Fagile-project/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/olillin%2Fagile-project/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/olillin","download_url":"https://codeload.github.com/olillin/agile-project/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/olillin%2Fagile-project/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33831629,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-02T02:00:07.132Z","response_time":109,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2026-06-02T17:01:47.726Z","updated_at":"2026-06-02T17:01:49.329Z","avatar_url":"https://github.com/olillin.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Don't Spill the Tea\n\n\u003e [!IMPORTANT]\n\u003e This project has been archived and is no longer being developed. It was the\n\u003e project of our group during the _DAT257 Agile software project development_\n\u003e course. It is now used as the base for\n\u003e [Spill the Tea](https://github.com/ASmaller/spill-the-tea), the tea website\n\u003e for the Software Engineering Student Division (IT).\n\nWelcome to _Don't Spill the Tea_, a solution for reducing food waste by\nsimplifying the collection of feedback about school lunches from students.\n\nFor setting up your own instance, see [SETUP.md](./SETUP.md).\n\nFor developing, continue reading below.\n\n## Prerequisites\n\nThis project uses these tools:\n\n- [Node.js 24](https://nodejs.org/en/download)\n- [pnpm](https://pnpm.io/installation)\n- [Docker Compose](https://docs.docker.com/compose/install)\n\nIf using [Nix](https://nixos.org), simply run `nix develop` to install these.\n\n## Getting Started\n\nFirst, run the command below to install dependencies.\n\n```bash\npnpm install\n```\n\nThis will also create a `.env` file and generate the Prisma Client\nautomatically. However, this is a best-effort and you may need to generate the\nPrisma client manually. To do so run this command:\n\n```bash\npnpm prisma generate\n```\n\nThen run the development server:\n\n```bash\npnpm dev\n```\n\nThis will also do a few tasks automatically:\n\n1. Run a development database and [Green Bite API](https://github.com/arienshibani/green-bite) instance with Docker compose\n1. Update the database with the latest Prisma migrations\n\nThe compose file should be stopped automatically after the development server\nis stopped. If it does not run this command manually:\n\n```bash\ndocker compose down\n```\n\nIf you want starter data in a fresh local database, run:\n\n```bash\npnpm prisma db seed\n```\n\nOpen \u003chttp://localhost:3000\u003e with your browser to see the current website.\n\nYou can edit the page by modifying the files in `src/`. The page auto-updates as you edit.\n\nThis project uses [`next/font`](https://nextjs.org/docs/app/building-your-application/optimizing/fonts) to automatically optimize and load [Geist](https://vercel.com/font), a new font family for Vercel.\n\n### Prisma\n\nTo work with Prisma you need to generate the Prisma client. You can do so by running:\n\n```bash\npnpm prisma generate\n```\n\n\u003e [!TIP]\n\u003e In this project this happens automatically when installing dependencies\n\u003e using the [`postinstall` script](https://docs.npmjs.com/cli/v8/using-npm/scripts#pre--post-scripts).\n\nThen you can import the Prisma Client in your code:\n\n```typescript\nimport { prisma } from \"@/lib/prisma\";\n```\n\nSee the official Prisma Client documentation for how to write queries with Prisma: \u003chttps://www.prisma.io/docs/orm/prisma-client/queries/crud\u003e.\n\n#### Updating the Schema\n\nSee [Overview of Prisma Schema](https://www.prisma.io/docs/orm/prisma-schema/overview) for the schema syntax.\nAfter modification you can run [`pnpm prisma db push`](https://www.prisma.io/docs/orm/reference/prisma-cli-reference#db-push) to test the new schema in the database.\nRemember to regenerate the Prisma Client afterwards with [`pnpm prisma generate`](https://www.prisma.io/docs/orm/reference/prisma-cli-reference#generate).\n\nWhen you are done you can create a migration with the [migrate](https://www.prisma.io/docs/orm/reference/prisma-cli-reference#migrate-dev) command:\n\n```bash\npnpm prisma migrate dev --name add_table_for_thingy\n```\n\n## Deployment\n\nUse the `compose.prod.yaml` file.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Folillin%2Fagile-project","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Folillin%2Fagile-project","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Folillin%2Fagile-project/lists"}