Git Product home page Git Product logo

komrifa-chi's Introduction

komrifa

Requirements

  • Go 1.22+
  • Docker
  • Node 20+

Getting started

  1. Clone the repo
  2. Create the .env file
  3. Run docker
  4. Run migrations
  5. Seed the database
  6. Run the server

Available commands

Run make help to get the list of commands

Choose a make command to run

  with-env          setup environment variables
  init              initialize project (make init module=github.com/user/project)
  vet               vet code
  css               build tailwindcss
  css-watch         watch build tailwindcss
  watch-api         watch for changes and restart the server
  sqlc              generate Go code from SQL
  install-migrate   install migrate tool
  docker-up         start project in a container
  docker-down       stop project in a container
  docker-build      build project into a docker container image
  docker-run        run project in a container
  db-sh             open a psql shell within the postgres container
  dump-schema       dump the database schema to a file db/schema.sql
  migrate           run migrations
  migrate-new       create a new migration. (make migrate-new name=create_users_table)
  migrate-down      run migrations down
  migrate-drop      drop the database

komrifa-chi's People

Contributors

opchaves avatar

Watchers

 avatar

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.