Skip to content

dutchhackers/foosball

Repository files navigation

Foosball

[WIP]

This monorepo will household some Foosball-related side projects. Still a lot of work in progress, so use this at your own risk!

Overview of Projects

Project name Description Migration status
Foosball Foosball is our internal side project to support scores and game statistics around our table soccer playings. In progress
API This Nx Firebase function was generated by @simondotm/nx-firebase. In progress
Firebase App This Nx Firebase application was generated by @simondotm/nx-firebase. In progress
Slack Webhook This Nx Firebase function was generated by @simondotm/nx-firebase. In progress

Getting Started

Prerequisites

  • Node.js
  • npm
  • Firebase CLI

Installation

  1. Clone the repository:

    git clone https://github.com/yourusername/foosball.git
    cd foosball
  2. Install dependencies:

    npm install
  3. Install Firebase CLI:

    npm install -g firebase-tools

Setup

  1. Authenticate Firebase CLI:

    firebase login
  2. Add your Firebase Project as a target:

    firebase use --add

Running the Projects

API

  • Deploy the API:

    nx run api:deploy
  • Serve the API using the Firebase emulator:

    nx run api:serve

Firebase App

  • Deploy the Firebase App:

    nx run firebase-app:deploy
  • Serve the Firebase App using the Firebase emulator:

    nx run firebase-app:serve

Slack Webhook

  • Deploy the Slack Webhook:

    nx run slack-webhook:deploy
  • Serve the Slack Webhook using the Firebase emulator:

    nx run slack-webhook:serve

License

This project is licensed under the terms of the LICENSE file.