gateway

package
v0.11.1 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2023 License: MIT Imports: 15 Imported by: 0

README

Setup

  • Install docker
  • Define necessary env variables
NEXT_PUBLIC_BACKEND_URL=http://localhost:8080
FRONTEND_URL=http://localhost:3000
POSTGRES_PASSWORD=MAKE_UP_SOMETHING_RANDOM
POSTGRES_USER=labdao
POSTGRES_DB=labdao
POSTGRES_HOST=localhost
  • Recommended: Install direnv. With it installed you can create .env file with the above environment variables and have them automagically set when you descend into the folder.

Start the database

docker compose up -d

Note: New docker installation include docker compose, older installations required you install docker-compose separately and run docker-compose up -d

Frontend start command

from ./gateway/frontend

npm run dev

Backend start command

from ./gateway

go run app.go

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ServeWebApp

func ServeWebApp()

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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