Skip to content
Storing sacramental records on the blockchain
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
server
.gitignore
README.md
package-lock.json
package.json

README.md

SacramentalRegistry

Storing sacramental records on the blockchain

Development Environment

As you develop and support different applications with node you'll find the need to flip back and forth between different versions of node to support those apps. One of the best tools that supports this is nvm. Instead of installing node directly on your machine install nvm. Then use that to install node.

#Application Very simple application that creates an endpoint(/sacramental-registry) that can handle GET and POST requests. Its built using Express.

Running

  1. npm install
  2. cd server
  3. node app.js

Testing the Endpoints

CURL GET

curl http://localhost:3000/sacramental-records

CURL POST

curl -d "@records.json" -X POST http://localhost:3000/sacramental-records

You can’t perform that action at this time.