backend

command module
v0.0.0-...-2b9378c Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2021 License: Apache-2.0 Imports: 1 Imported by: 0

README

Go

Build Setup

go get github.com/findmentor-network/backend

make build

<$ ./backend
Findmentor API

Usage:
  backend [command]

Available Commands:
  api         find mentor api
  help        Help about any command

Flags:
  -c, --dbconn string   Database connection string (default "mongodb://root:example@127.0.0.1:27017/")
  -d, --dbname string   Database name (default "findmentor")
  -h, --help            help for backend
  -p, --port string     service port (default "5000")
  -t, --toggle          Help message for toggle

Use "backend [command] --help" for more information about a command.

or build & run on docker

make docker_build

docker run -it -p 5000:5000 backend api 

Swagger

http://127.0.0.1:5000/swagger/index.html

TODO

  1. need to port generate.js to golang as command
  2. crud operation for person
  3. search (slug,interest,name)
  4. profile page
  5. admin pages

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal
person
Package mock_person is a generated GoMock package.
Package mock_person is a generated GoMock package.
pkg
echoextention/healthcheck
Package health check provides to add echo instance.
Package health check provides to add echo instance.
log

Jump to

Keyboard shortcuts

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