Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/fabianogoes/soccer-betting

This Project is about FIFA World Cup, should be able to manage: Teams, Groups, Matches, Users, Bets, Rules, Statistics, etc...
https://github.com/fabianogoes/soccer-betting

golang reactjs typescript

Last synced: 6 days ago
JSON representation

This Project is about FIFA World Cup, should be able to manage: Teams, Groups, Matches, Users, Bets, Rules, Statistics, etc...

Awesome Lists containing this project

README

        

# Soccer Betting

đŸŽ¯ This Project is about FIFA World Cup, should be able to manage: Teams, Groups, Matches, Users, Bets, Ranking, Rules, Statistics, etc...

![Golang](./assets/badge-golang.png)
![Postgres](./assets/badge-postgres.png)
![Gin](./assets/badge-gingonic.png)
![React](./assets/badge-react.png)
![TypeScript](./assets/badge-typescript.png)
![Vite](./assets/badge-vite.png)
![Material UI](./assets/badge-materialui.png)

> ℹī¸ This project was created as a study base for the Go language and its main frameworks and libraries. It's an open source project, so feel free to participate with ideas and code by creating issues and submitting pull requests.

- [Soccer Betting](#soccer-betting)
- [Stack](#stack)
- [Run](#run)
- [Dependencias](#dependencias)
- [Backend](#backend)
- [Frontend](#frontend)
- [Mock Backend](#mock-backend)
- [References](#references)

## Stack
- [Backend | Golang...](./banckend/README.md)
- [Frontend | ReactJS...](./banckend/README.md)

## Run
- [ ] TODO: create a Makefile

### Dependencias
- [Setup Golang](https://www.practical-go-lessons.com/chap-4-setup-your-dev-environment)
- [Setup Yarn](https://yarnpkg.com/getting-started)

### Backend

```bash
cd backend
go mod tidy # install dependencies
go run cmd/main.go # running backend project
```

### Frontend

```bash
yarn # install dependencies
yarn dev # rinning frontend project
```

### Mock Backend

To run the frontend with the mocked backend, and not need to install Golang locally

```bash
cd frontend
yarn # install dependencies
yarn mock # running mock backend
yarn dev # rinning frontend project
```

## References
- [How to Setup Golang GORM RESTful API Project with Postgres](https://codevoweb.com/setup-golang-gorm-restful-api-project-with-postgres)
- [JWT Authentication in Go with Gin and Gorm](https://youtu.be/ma7rUS_vW9M)
- [How to organize a Go web app](https://youtu.be/pbcTa-a3LBw)
- [Uber Go style guide](https://github.com/uber-go/guide/blob/master/style.md)
- [World Cup Qatar 2022](https://www.fifa.com/fifaplus/en/articles/qatar-2022-all-qualified-teams-groups-dates-match-schedule-tickets-more)
- [Database Handling with Golang Gorm (CRUD Handling)](https://dev.to/yanoandri/database-handling-with-golang-gorm-crud-handling-4c66)
- [Qatar horarios fase de grupos](https://www.jogosdacopa.net/#/qatar-horarios-fase-de-grupos)
- [Qatar matches and schedules](https://digitalhub.fifa.com/m/538276bde2718fe6/original/2022fwc_qatar_match_schedule_v34b_11082022_EN_international-use.pdf)