Categorygithub.com/techerpierre/kasa-api
repository
0.0.0-20241118150851-5b7c6da9bdcd
Repository: https://github.com/techerpierre/kasa-api.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# README

Welcome to Kasa API

Quickstart

  1. Create a .env file at the root of your project and complete it with the fields indicated in the .env.dist file.

  2. Migrate the database with the following command :

    go run github.com/steebchen/prisma-client-go db push
    
  3. Use docker-compose to launch the API:

    docker compose up # To just launch the API.
    # or
    docker compose watch # To launch the API with the watcher.
    

Generate prisma models

To generate prisma models, you must run the following command :

go run github.com/steebchen/prisma-client-go generate