0.1.0 • Published 4 years ago
ethereum-boilerplate v0.1.0
Hoji Storefront
This is the DApp for the Hoji Storefront.
Development
- Clone the repository
- Make sure you have node and yarn installed
- Run
yarnto install dependencies - Run
yarn startto start the development of the frontend and it will automatically open the web frontend in your browser. - This is a serverless application, so you can use the cloud functions to do a customized API.
- Use
yarn cloud:runto develop your cloud functions. - User
yarn cloud:logsto see the logs
- Use
- For the code hierarchy please refer to the following
.
├── bin
├── build
├── CODING_STYLE.md
├── config-overrides.js
├── CONTRIBUTING.md
├── data
├── functions --> this is where we put the cloud functions
├── jsconfig.json
├── LICENSE.md
├── node_modules
├── package.json
├── public
├── README.md
├── src
├── Truffle --> this contains the smart contract deelopment using Truffle
├── yarn-error.log
└── yarn.lockTesting subdomains locally
You can configure your /etc/hosts like the following
127.0.0.1 localhost
127.0.0.1 test.localhost
127.0.0.1 test1.localhost
127.0.0.1 test2.localhost
127.0.0.1 empeje.localhostNow you can open with something like test1.localhost:3000 and set your store name to test1 when register to the app locally.
Authors
License
Hojilabs (c) 2022 All rights reserved.
0.1.0
4 years ago