Skip to content

reijjo/bet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bet

What is this?

Place where you can track your bets

  • You can finally ditch the annoying Excel Sheets that are impossible to update with your phone.
Screenshot 2025-04-20 at 20 52 33

How to use?

Try it live here

  • Frontend is deployed with Cloudfare pages
  • Database is deployed in AWS RDS
  • Backend is deployed with Render

Locally

Install Docker and Bun

Frontend

  • Go to bet/client folder
  • Rename env file to .env
  • Run bun install
  • Start frontend with bun run dev and go to http://localhost:5173/

Backend

  • Go to bet/server folder
  • Rename env file to .env and fill in the blanks
  • Run bun install
  • Start backend with bun run dev
  • Backend is running at http://localhost:3000/

Database

Make sure you have Docker running

Tech stuff

With what?

This project is done with React, TypeScript, Expressjs and CSS

  • RTK query for queries
  • Redux for state managment
  • PostgreSQL and Sequelize for database
  • Sessions for user managment

Testing

  • Frontend vitest
  • Backend bun:test
  • E2E Playwright (coming later...)

Frontend

Go to frontend folder (client)

  • bun run test to run unit tests
  • bun run test:cover to run unit tests and see the test coverage

Backend

Go to backend folder (server)

  • bun run test to run unit tests
  • bun run test:cover to run unit tests and see the test coverage

End-to-end

coming...

Releases

No releases published

Packages

No packages published

Languages