Skip to content

amandinedrebes/orness

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

REST API server

The server will store and return notes. It will work with the JSON representation of the notes

Running api server:

  • go run main.go [-ip ] [-port ]

IP is an optional argument: 127.0.0.1 means localhost only (default value: 127.0.0.1) PORT is an optional argument (default value: 4000)

Running test compains:

  • cd internal/core
  • go run test

Bonus:

Information: This exercise can be easily solved by a simple main.go file as the scope is very limited. It is a real position to start splitting code in order to separate API from the backend in order to prepare a real database integration. The concurrency subject is solved by adding a Mutex.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published