Skip to content

dClimate/geodata-rest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

geodata-rest

Requirements

development

  • run tests:
cargo test

Features

Diagram

diagram

Dev

  • For contract changes, copy msg.rs and geodata_anchor.wasm from contract to common directory, e.g.: 'cp ../geodata-anchor/src/msg.rs common' and 'cp ../geodata-anchor/artifacts/geodata_anchor.wasm assets'

  • With a connected testnet, the deployed contract address would be supplied via config/default.json. Currently the integration test is running juno via docker and supplies the contract address via env variable.

  • To supply private credentials for Mongodb Atlas cluster overriding the default localhost instance, add config/local.json (included in .gitignore). Sample: { "database": { "uri": "mongodb+srv://xxxxxxcluster0.xxxx.mongodb.net", "name": "geomancy" },

    "auth": { "secret": "xxxxxx" } }

  • see README-dev.md for running dev curl commands

Next steps:

  • Consider replacing bcrypt with argon2
  • Consider multi-hash
  • Move validation endpoint to externally scheduled daemon process
  • Implement Docker runtimes
  • Design and implement geospatial data schemas, indexes and queries, input process
  • Implement external juno test blockchain for anchoring/validation
  • Client app integrating above functionality

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published