{"id":22164683,"url":"https://github.com/reijjo/bet","last_synced_at":"2026-04-10T15:02:53.781Z","repository":{"id":248008072,"uuid":"827401995","full_name":"reijjo/bet","owner":"reijjo","description":"Track your bets","archived":false,"fork":false,"pushed_at":"2024-10-23T19:35:05.000Z","size":2481,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-10-24T06:24:02.879Z","etag":null,"topics":["bun","expressjs","pgadmin4","postgresql","react","typescript"],"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/reijjo.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-07-11T15:31:51.000Z","updated_at":"2024-10-23T19:35:09.000Z","dependencies_parsed_at":"2024-07-30T11:06:20.706Z","dependency_job_id":"861ae0a3-35c9-4e0c-b57f-cbe266310416","html_url":"https://github.com/reijjo/bet","commit_stats":null,"previous_names":["reijjo/bet"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reijjo%2Fbet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reijjo%2Fbet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reijjo%2Fbet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reijjo%2Fbet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/reijjo","download_url":"https://codeload.github.com/reijjo/bet/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245304872,"owners_count":20593626,"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":["bun","expressjs","pgadmin4","postgresql","react","typescript"],"created_at":"2024-12-02T05:09:19.314Z","updated_at":"2025-12-30T20:34:50.877Z","avatar_url":"https://github.com/reijjo.png","language":"TypeScript","readme":"# bet\n\n## What is this?\n\nPlace where you can track your bets\n- You can finally ditch the annoying Excel Sheets that are impossible to update with your phone.\n\u003cimg alt=\"Screenshot 2025-04-20 at 20 52 33\" src=\"https://github.com/user-attachments/assets/b6250091-7780-448f-a185-9ee59491a8aa\" width=\"1412\" height='480' /\u003e\n\n## How to use?\n\nTry it live \u003ca href='https://tarpit.pages.dev/'\u003ehere\u003c/a\u003e\n- Frontend is deployed with `Cloudfare pages`\n- Database is deployed in `AWS RDS`\n- Backend is deployed with `AWS EC2`\n\n### Locally\nInstall `Docker` and `Bun`\n#### Frontend\n- Go to `bet/client` folder\n- Rename `env` file to `.env`\n- Run `bun install`\n- Start frontend with `bun run dev` and go to http://localhost:5173/\n#### Backend\n- Go to `bet/server` folder\n- Rename `env` file to `.env` and fill in the blanks\n- Run `bun install`\n- Start backend with `bun run dev`\n- Backend is running at http://localhost:3000/\n#### Database\nMake sure you have `Docker` running\n- Go to `bet/server` folder\n- Start database with `docker compose up`\n- `pgAdmin` is running at http://localhost:5050/\n\n## Tech stuff\n\n### With what?\n\nThis project is done with `React`, `TypeScript`, `Expressjs` and `CSS`\n- `RTK query` for queries\n- `Redux` for state managment\n- `PostgreSQL` and `Sequelize` for database\n- `Sessions` for user managment\n\n## Testing\n- Frontend `vitest`\n- Backend `bun:test`\n- E2E `Playwright` (coming later...)\n\n### Frontend\nGo to frontend folder (client)\n- `bun run test` to run unit tests\n- `bun run test:cover` to run unit tests and see the test coverage\n\n### Backend\nGo to backend folder (server)\n- `bun run test` to run unit tests\n- `bun run test:cover` to run unit tests and see the test coverage\n\n### End-to-end\ncoming...\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freijjo%2Fbet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Freijjo%2Fbet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freijjo%2Fbet/lists"}