Skip to content

findmentor-network/backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:[email protected]: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

About

Findmentor.network backend project

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published