twitter

command module
v0.0.0-...-5f1ff36 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2025 License: AGPL-3.0 Imports: 1 Imported by: 0

README

Bocchi

The social network.

Development

Prerequisites
  • Go 1.24
  • Node.js 23
  • Pnpm
  • Docker
  • Make
Setup

Sqlc, goose and buf are required for the project. Install them with the following commands:

go install github.com/sqlc-dev/sqlc/cmd/sqlc@latest
go install github.com/pressly/goose/v3/cmd/goose@latest
go install github.com/bufbuild/buf/cmd/buf@latest
go install github.com/fullstorydev/grpcurl/cmd/grpcurl@latest
go install google.golang.org/protobuf/cmd/protoc-gen-go@latest
go install connectrpc.com/connect/cmd/protoc-gen-connect-go@latest
WSL

Please refer to Running a local Expo development environment in Windows Subsystem for Linux (WSL) for setting up WSL.

Database

To start the database, run the following command:

docker-compose up -d
make migrate
Configuration

Create a .env file in the root of the project with the following content:

POSTGRES_URL=postgresql://postgres:postgres@localhost:5432/postgres
JWT_SECRET=put_your_secret_here
SERVER_ADDR=:8080

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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