Skip to content

protozoa-nz/whakapapa-ora

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Āhau

A whakapapa app that works peer-to-peer, and doesn't require internet. All data is held by you and those friends you connect with, and is cryptographically secured.

Built on scuttlebutt

For more info see ahau.io

Development

This repo is used for building desktop and mobile apps. The ui/ folder is common to both, while desktop/ and mobile/ folders contain setups specific to those platforms.

$ npm install
// installs the ui (common to both projects) and some linting tools

Then follow the documentation for target platform:

Resources

  • Vue

  • Graphiql

    • a sweet GraphQL tool for exploring generated doc and practicing queries/ mutations with the server
    • start the above dev environment then go to http://localhost:4000/graphql
  • Storybook

    • a tool to help you build components in isolation
    • start it with npm run storybook
    • serves up *.stories.js files
  • helper scipts

    npm run db:reset   // wipe dev identity
    npm run clear:all  // deletes node_modules from ./, ./ui, /desktop
    
    npm run lint       // lint whole project
    
    • see package.json for finer grained versions of these

Troubleshooting

If vue-cli-service is not detected or recognised as a command, in the root folder run

$ npm cache clean -f

Following this, reinstall the required dependencies with

$ npm install