From 8e338818cae9988bea867583b195fab640f85b25 Mon Sep 17 00:00:00 2001 From: Chris Troutner Date: Sat, 28 Oct 2023 10:19:59 -0700 Subject: [PATCH] Updating READMe --- README.md | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 7b582de..09b215f 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,7 @@ This boilerplate extends that code to provide the basic features required to be If you are interested in creating your own service provider on the IPFS network, fork this repository and start building. This repository is used in serveral PSF projects: - [P2WDB](https://github.com/Permissionless-Software-Foundation/ipfs-p2wdb-service) - the [pay-to-write database](https://p2wdb.com) is a censorship-resistent, p2p database for storing data and pinning files to the IPFS network. -- [ipfs-bch-wallet-consumer](https://github.com/Permissionless-Software-Foundation/ipfs-bch-wallet-consumer) and [ipfs-bch-wallet-service](https://github.com/Permissionless-Software-Foundation/ipfs-bch-wallet-service) creates a web3, censorship-resistent API for app to communicate with a blockchain. This software is documented in [the Cash Stack](https://cashstack.info). +- [ipfs-bch-wallet-consumer](https://github.com/Permissionless-Software-Foundation/ipfs-bch-wallet-consumer) and [ipfs-bch-wallet-service](https://github.com/Permissionless-Software-Foundation/ipfs-bch-wallet-service) creates a web3, censorship-resistent API for apps to communicate with a blockchain. This software is documented in [the Cash Stack](https://cashstack.info). ## IPFS node This web server spins up an embedded IPFS ([Helia](https://github.com/ipfs/helia)) node. This node can be controlled and interrogated via the REST API. [psf-bch-wallet](https://github.com/Permissionless-Software-Foundation/psf-bch-wallet) is a command-line app (CLI) that can easily tap into this REST API in order to interact with the embedded IPFS node. @@ -60,22 +60,20 @@ npm start ## File Structure -The file layout of this repository differs from the koa-api-boilerplate. Instead, it follows the file layout of [Clean Architecture](https://christroutner.github.io/trouts-blog/blog/clean-architecture). +The file layout of this repository follows the file layout of [Clean Architecture](https://christroutner.github.io/trouts-blog/blog/clean-architecture). Understaning the principles laid out this article will help developers navigate the code base. ## Usage - `npm start` Start server on live mode - `npm run docs` Generate API documentation - `npm test` Run mocha tests -- `docker-compose build` Build a 'production' Docker container -- `docker-compose up` Run the docker container ## Documentation API documentation is written inline and generated by [apidoc](http://apidocjs.com/). Docs can be generated with this command: - `npm run docs` -Visit `http://localhost:5020/docs/` to view docs +Visit `http://localhost:5020/` to view docs There is additional developer documentation in the [dev-docs directory](./dev-docs).