Skip to content

go-ready-blockchain/student-go-node

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

STUDENT NODE

Blockchain Implementation in GoLang For Placement System

The Consensus Algorithm implemented in Blockchain System is a combination of Proof Of Work and Proof Of Elapsed Time

Run go run main.go to Start the Server and listen on localhost:8081

Usage :

To Print Usage

Make POST request to /usage

To Advance the Pipeline -

To Add a New Student

Make POST request to /student with body -

{
    "Usn": "1MS16CS034",
    "Branch": "CSE",
    "Name": "Gaurav",
    "Gender": "Male",
    "Dob": "30-10-1998",
    "Cgpa": "9",
    "Perc10th": "90",
    "Perc12th": "90",
    "Backlog": false,
    "Email": "[email protected]",
    "Mobile": "8867454545",
    "Staroffer": true
}

Part of the Pipeline -

To Handle Request and Initiate Creation of Request Block

Make GET request to /handlerequest with Query Params -

Key :   Value

approval: true
company: JPMC
name: 1MS16CS034

Testing

Test Direct Request to Student

Make POST request to /request-student with body -

{
	"name":"1MS16CS034",
    "company": "JPMC"
  
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •