Ahau-NZ / Ahau

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ā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.

Requirements

  • node: >=18 <19
  • npm: >=9
$ npm install --engine-strict
// installs the ui (common to both projects) and some linting tools

NOTE: the engine-strict flag will make sure you have the right version of node and npm installed

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
  • 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

About


Languages

Language:Vue 60.8%Language:JavaScript 37.7%Language:Shell 1.1%Language:HTML 0.2%Language:NSIS 0.1%