8000 GitHub - soumyaray/PlanB: Mywill App - create legal will and other notes you want to pass on to your love ones when you pass
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Mywill App - create legal will and other notes you want to pass on to your love ones when you pass

License

Notifications You must be signed in to change notification settings

soumyaray/PlanB

 
 

Repository files navigation

LastWill API

A LastWill API - our web and mobile Project for the class Service Security

The LastWill API allow users to create and store their legal will, pictures, stories, memo, notes, memories..etc, which can be shared to their love ones after they pass. The app can be useful for eldery citizens, caretakers, patients with terminal stage dieseases, military full-time service personel, anyone in a higher risk roles/jobs etc. This project will focus on high data privacy and security and also intelligent sharing and distribution functionality.

It includes the following features:

  • create/edit user/patient decease confirmation/validation and control rules.
  • add/edit inheritor(s) or legal representative(s) notification and reminder.
  • add/edit/delete documents (types: Will, Photos, Memo, stories, notes..etc)
  • use recent and reliable hashing, encryption and decryption algorithms
  • have both Web and mobile UI
  • etc..

Required development enviroment:

  • Language Ruby 2.6.2
  • Roda framework -v 3.18

Other Required packages:

  • Rack
  • libsodium32 -rbnacl
  • see gem file for full detail

API route and methods:

All routes return Json

  • GET /: Root route shows if Web API is running
  • GET api/v1/notes/[proj_id]/inheritor/[doc_id]: Get a document
  • GET api/v1/notes/[proj_id]/inheritors: Get list of documents for project
  • POST api/v1/notes/[ID]/inheritors: Upload document for a project
  • GET api/v1/notes/[ID]: Get information about a project
  • GET api/v1/notes: Get list of all projects
  • POST api/v1/notes: Create new project

Install

-Install this API by cloning the relevant branch and installing required gems from Gemfile.lock:

Execute

Run this API using:

 bundle install

Setup development database once:

rake db:migrate

Execute

Run this API using:

rackup

Test

Setup test database once:

RACK_ENV=test rake db:migrate

Run the test specification script in Rakefile:

rake spec

Release check

Before submitting pull requests, please check if specs, style, and dependency audits pass:

rake release?

Reference: base on soumyaray ISS secuity repo @ https://github.com/ISS-Security/credence-api/tree/0_api_mvc

About

Mywill App - create legal will and other notes you want to pass on to your love ones when you pass

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%
< 2958 /div>
0