{"id":26475360,"url":"https://github.com/alecbytes/cen3031group15","last_synced_at":"2025-03-19T23:16:53.565Z","repository":{"id":195835097,"uuid":"691074431","full_name":"AlecBytes/CEN3031group15","owner":"AlecBytes","description":null,"archived":false,"fork":false,"pushed_at":"2023-12-05T21:13:57.000Z","size":5668,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-09T04:37:16.358Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://pantrypal-lac.vercel.app","language":"Vue","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/AlecBytes.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":"2023-09-13T12:58:53.000Z","updated_at":"2024-11-02T14:20:14.000Z","dependencies_parsed_at":"2023-11-12T17:51:42.524Z","dependency_job_id":"13393f88-d151-4ab9-99ea-c70ca3809b0c","html_url":"https://github.com/AlecBytes/CEN3031group15","commit_stats":null,"previous_names":["alec8888/cen3031group15","alecbytes/cen3031group15"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlecBytes%2FCEN3031group15","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlecBytes%2FCEN3031group15/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlecBytes%2FCEN3031group15/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlecBytes%2FCEN3031group15/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AlecBytes","download_url":"https://codeload.github.com/AlecBytes/CEN3031group15/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244520147,"owners_count":20465632,"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":[],"created_at":"2025-03-19T23:16:53.018Z","updated_at":"2025-03-19T23:16:53.558Z","avatar_url":"https://github.com/AlecBytes.png","language":"Vue","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CEN3031group15\n\n## Client\n\n### Setup environment\n\n1. Install nvm\n2. Install npm with nvm\n3. Intall quasar CLI\n    - `npm install -g @quasar/cli`\n4. Install JSON-Server  \n    - `npm install -g json-server`\n    - [More directions](https://www.npmjs.com/package/json-server01)\n5. Install JSON Server Auth\n    - `npm install -g json-server-auth`\n    - [More directions](https://www.npmjs.com/package/json-server-auth)\n6. Install dotenv of environment variables\n    - from /client run `npm install dotenv`\n    - create a file called `.env` in /client and add the following line:\n        - SUPABASE_KEY=\"supbase-key-here\"\n        - Get the supabase key [here](https://supabase.com/dashboard/project/preudbpdnhcigtnuiuit/settings/api).\n    \n\n### Start Client\nFrom /client directory:\n1. Start JSON server\n    - Doesn't work with Cypress: `json-server-auth --watch db.json`\n    - Does work with Cypress: `json-server-auth --watch db.json --host 0.0.0.0`\n2. Start Quasar dev server\n    - `quasar dev`\n3. Start Quasar and JSON server\n    - `npm run dev`\n    - located in package.json\n\n### Cypress Testing\n#### Install \n- I ran this from /client `quasar ext add @quasar/testing-e2e-cypress`\n- Docs: \n  - https://testing.quasar.dev/packages/e2e-cypress/\n  - https://docs.cypress.io/guides/end-to-end-testing/writing-your-first-end-to-end-test\n#### Run Tests\n- Open Cypress: `npx cypress open`\n- Run Cypress tests: `npx cypress run`\n\n### Deploy\n- Package the quasar app: `quasar build`\n- log in to vercel: `vercel login`\n  - Note, the free version only allows one person, so for now I'm the only one who can deploy. Howeever, the goal is to set up CI/CD so that it will automatically deploy when we push to main.\n- Deploy to vercel: `vercel --prod`","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falecbytes%2Fcen3031group15","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falecbytes%2Fcen3031group15","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falecbytes%2Fcen3031group15/lists"}