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
-
Create a .env file at the root of your project and complete it with the fields indicated in the .env.dist file.
-
Migrate the database with the following command :
go run github.com/steebchen/prisma-client-go db push
-
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