e-additives.gcp

command module
v0.0.0-...-177e861 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2022 License: MIT Imports: 5 Imported by: 0

README

E-additives on Google Cloud

A web platform that provides detailed information about food additives.

This project has the following two components:

  • An HTTP API web service that provides API access to the data.
  • A responsive web app that consumes the API and presents the data.

Usage

API docs are WIP, but the old docs are very much compatible.

Development

To init the www web app submodule run:

git submodule init
git submodule update

To build and deploy locally at http://localhost:8080/api run:

DEVMODE=1 PORT=8080 DB_PATH=./data/eadditives.sqlite3 go run main.go

To run with full-text search support use the following tags:

go run -tags "eadfts,fts5"  main.go 

To build and deploy on GCP run:

gcloud app deploy

License

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
rs
www

Jump to

Keyboard shortcuts

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