Skip to content

Creating a RESTful API to manage Expenses using GoLang for server and MongoDB for Database

Notifications You must be signed in to change notification settings

anandnkhl/Expenses_REST-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Expenses_REST-API

Build the autogen.go file to make auto code generating for the CRUD operation in Handler directory

$ go build autogen.go 
$ go generate ./... 

Compile the file main.go to start the server at port 8080 [change port no. (if required) on main.go line no:33]

$ go run main.go

Make sure the Mongo service is active before running the main.

$ sudo service mongod start

About

Creating a RESTful API to manage Expenses using GoLang for server and MongoDB for Database

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages