Git Product home page Git Product logo

api-gateway-footy's Introduction

api-gateway-footy

This is a project built with the GOTTH stack, which stands for Golang, Tailwind, Templ, and htmx. It's a web application that provides Premier League standings and fixtures.

Technologies Used

Golang: The backend of the application is written in Go using the Gin framework. Tailwind CSS: Tailwind CSS is a utility-first CSS framework. Templ: Templ is a template engine for Go that simplifies the process of generating HTML content. HTMX: HTMX is a library that allows for seamless interaction between the client and server using HTML attributes, enabling dynamic web applications without the need for complex JavaScript.

Getting Started

To clone this project and run it locally, follow these steps:

Clone the repository to your local machine: git clone https://github.com/eduzgun/api-gateway-footy.git Set up your environment variables by creating a .env file in the root directory. Here's an example .env file:

DB_HOST=localhost
DB_PORT=5432
DB_USER=yourusername
DB_PASSWORD=yourpassword
DB_NAME=yourdbname
DB_SSLMODE=disable
RAPID_API_KEY=yourapikey

Make sure to replace yourusername, yourpassword, yourdbname, and yourapikey with your actual database and RapidAPI credentials.

Run the following command to install dependencies and start the application: make all This command will generate necessary files, compile Tailwind CSS, and start the server.

For development, run make dev. This will use air to enable live reloading.

Makefile Commands

make all: Generates files, compiles CSS, and starts the server. make dev: Compiles CSS and starts the server with hot reloading using air. make run: Starts the server. make build: Builds the project. make css: Compiles Tailwind CSS. make css-watch: Compiles Tailwind CSS with watch mode.

api-gateway-footy's People

Contributors

eduzgun avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

marileea

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.