/goto-place

Reddit's r/place clone based on go fiber and solid embedded for a single binary

Primary LanguageGo

Example Go Application with Solid Embed

This is an example Go application demonstrating the usage of embedding assets (such as templates, static files, etc.) into the binary using Go's embed package.

Features

  • Embedding of assets into the binary.
  • Minimalistic setup with commands to build and run the application.

Prerequisites

  • Go installed on your system. You can download it from here.

Setup

  1. Clone this repository:

    git clone $THIS_REPO
  2. Navigate to the project directory:

    cd $REPO
  3. Build the application:

    make build-app

Seed

  • Using the this command will remove the old database and start a new one, already seeded:

    make seed

Usage

  • Run the application:

    ./bin/app

License

This project is licensed under the MIT License - see the LICENSE file for details.