Skip to content

m-tarhon/Golang_REST_API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Golang REST API

A REST api writte in Golang, capable of

  • navigating to either a /users or /apps endpoint
  • editing the lists of said users or apps
  • requires authentication for the users endpoint
  • allows you to choose which port to start your server on, throough the use of flags or through CLI
  • has a basic persistant storage configured

To run, do:

Open two terminals

  • first run: go run ./server
    • can use -port=8080 to start server on port 8080
    • without it, the CLI will ask you to choose
  • then, in the second terminal window: go run ./client
    • can use the same flag, or the CLI will ask you to specify
    • if you wish to access the /users endpoint, the credentials are boss:man
  • type help to navigate the client side
  • hve fun! please try breaking this so i can improve it

About

A golang rest api that manages users and aplications

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages