Giter Club home page Giter Club logo

nba-simulator-with-golang's Introduction

NBA Simulator with Golang

The NBA Simulator is a Go-based application designed to simulate various aspects of NBA games. This project leverages modern software engineering practices to ensure ease of use, efficiency, and scalability.

Features

  • Docker Integration: Easy deployment and environment management using Docker.
  • DDD: Domain Driven Design

Getting Started

These instructions will get your copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

  • Go (Version 1.x or later)
  • Docker (optional for containerized deployment)

Installing

To get a development environment running, follow these simple steps:

  1. Clone the repository
git clone https://github.com/Furkan-Gulsen/NBA-Simulator-with-Golang
  1. Install dependencies
make install

This command will download the necessary Go modules.

Building and Running

  • Build the application
make build

This command compiles the code and creates an executable named nba_simulator.

  • Run the application
make run

This will build and then run the nba_simulator.

  • Development Mode
make dev

Use this for running the application in development mode with live reload.

Docker Support

To run the application using Docker:

  • Start the application
make up

This will use docker-compose to set up and start the application.

  • Stop the application
make down

This will stop and remove the container set up by docker-compose.

  • Cleaning Up

To clean the build artifacts and the executable:

make clean

Links

Health Check: http://localhost:3000/ping

Link: http://localhost:3000/games

Example Page

Class Diagram

Class Diagram

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.