8000 GitHub - basman/tradingServer: A simple trading server implemented in go. It offers user authentication, buy and sell items and simulates price fluctuations. Backed with an sqlite3 database.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

A simple trading server implemented in go. It offers user authentication, buy and sell items and simulates price fluctuations. Backed with an sqlite3 database.

Notifications You must be signed in to change notification settings

basman/tradingServer

Repository files navigation

tradingServer

A simple restAPI trading server implemented in go.

It offers...

  • user authentication and personal accounts,
  • buy and sell items and
  • simulates price fluctuations.

Backed with an sqlite3 database.

How to setup

Compile and run the binary tradingServer. It will create the database upon first run.

To add new users, run ./tradingServer adduser [] This will create the user account, store the hashed password and grant the user a starting balance of 100 credits.

How to use

Start the tradingServer and visit the URL http://localhost:8002/ with your browser. It will show short instructions for each possible API endpoint.

About

A simple trading server implemented in go. It offers user authentication, buy and sell items and simulates price fluctuations. Backed with an sqlite3 database.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  
0