IITK-coin
Backend for a centralized coin exchange system, developed under the mentorship of P-club IIT Kanpur
To run the project install go in your system and add it to your path: https://golang.org/doc/install
run the command "$ go install" to install the dependencies used in the project
run the command "$ go run main.go" to start the local server at port 8080.
POST req at "http://localhost:8080/signin" for signinPOST req at "http://localhost:8080/signup"
GET req at "http://localhost:8080/secretpage"
Add JWT token in the header of req...
POST req at "http://localhost:8080/init"
To award an amount to a roll number if the roll no had an account
Else if no account is present then an account is created in the DB and amount is added
POST req at "http://localhost:8080/transfer"
To transfer an amount from one roll number to another if the transaction is valid
GET req at "http://localhost:8080/balance"