home-feature-server

module
v0.0.0-...-908714d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 14, 2024 License: MIT

README

Home Feature Server

This project is a personal server tailored to meet various personal needs.

The main idea is to create a api server+frontend with a Desktop like UI to manage household budgets, control homemade robots, and more.

This is a work in progress, and development is not a very straightforward process as it is a personal project.

Getting started for development

1. Install dependencies
2. Clone the repository
git clone https://github.com/massivebugs/home-feature-server.git
cd home-feature-server
3. Create local Certificate Authority and certificate
  • Download mkcert

  • Create local CA and certificate

    mkcert -install && mkcert "\*.local" localhost 127.0.0.1 ::1 # Adjust if necessary
    
  • Copy the certificate and key to the devcerts directory

4. Run containers

Utility commands

Running migrations & rolling back, seeding
  • make db-migrate: Runs migrations listed in db/migration
  • make db-rollback: Rolls back migrations by 1 step
  • make db-reset: Roll back and run all migrations
  • make db-seed: Seeds database with initial data
Generating data access layer
  • make sqlc-generate: Runs sqlc generate based on queries defined in db/query

Contributing

As this is a personal project, contributions are welcome but not expected. If you have any ideas or improvements, feel free to open an issue or submit a pull request.

License

This project is licensed under the MIT License. See the LICENSE file for more details.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL