Skip to content

skaffolder/HealthcareBlockchain_MySQL

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

   _____ _          __  __      _     _           
  / ____| |        / _|/ _|    | |   | |          
 | (___ | | ____ _| |_| |_ ___ | | __| | ___ _ __ 
  \___ \| |/ / _` |  _|  _/ _ \| |/ _` |/ _ \ '__|
  ____) |   < (_| | | | || (_) | | (_| |  __/ |   
 |_____/|_|\_\__,_|_| |_| \___/|_|\__,_|\___|_|   

  _   _           _           _  _____ 
 | \ | |         | |         | |/ ____|
 |  \| | ___   __| | ___     | | (___  
 | . ` |/ _ \ / _` |/ _ \_   | |\___ \ 
 | |\  | (_) | (_| |  __/ |__| |____) |
 |_| \_|\___/ \__,_|\___|\____/|_____/ 

This project was generated by Skaffolder


START APPLICATION


! IMPORTANT

To launch the application start a local instance of MongoDB, open a terminal in this folder and type:

$ npm install
$ npm start

Go to http://localhost:3000


CONFIGURE


Set database credentials in properties.js


FACTOM BLOCKCHAIN


  • The model who have "Factomize" checkbox selected, is required to have a relation (FK) with the model who have the identity
  • The model who have "Identity" checkbox selected, needs to have "identity" column required.
  • If you just wan't to use the factom methods, just remove the services on the controllers.
  • All the Factom methods are located in the services folder.
  • Factom credential data are located in the properties.js file.
  • Patient model have an example of a model who have factomize checkbox selected.
  • Docor model have an example of a model who have identity checkbox selected.

START WITH DOCKER


  • To start the application with Docker:

    • Install Docker

    • Run command:

    docker-compose up
  • When code changes you need to rebuild container running:

docker-compose up --build

USING SKAFFOLDER-CLI


With Skaffolder-CLI you can easily manage your Skaffolder project from command line and customize your generator template from your IDE.

Install Skaffolder-CLI with

$ npm install -g skaffolder-cli

Login running the command

$ sk login

Generate your project with the command

$ sk generate

You can customize your generator template working with files in .skaffolder folder in your project root.

Please refer to https://skaffolder.com/#/documentation/skaffolder-cli for more information.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages