Skip to content

saferwall/webapis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

saferwall Web APIs GoDoc Report Card GitHub Workflow Status (branch) codecov

Preface

This repository powers the web service API used in https://saferwall.com.

Vendoring

These packages are used in the project:

Folder Structure

This project follows the Standard Go Project Layout

  • build - contains packaging and Continuous Integration files.
  • cmd - contains the main function.
  • configs - contains configuration file templates or default configs.
  • docs - contains design and user documents.
  • db - contains database sql-like (n1ql) queries.
  • internal - contains private project specific code.
  • pkg - contains generic packages without project specific dependencies - these can be safely moved to other projects without internal dependencies.

Getting started

  • Install docker.
  • git clone https://github.com/saferwall/webapis.git.
  • Create a private.env in the root directory:
    # Used by docker-compose NSQ service when debugging a service locally and
    # using all the other services from docker-compose.
    EXTERNAL_IP=<your-host-ip>
  • Make sure make is installed and run make init.

References