0.1.0 • Published 2 years ago

ethereum-boilerplate v0.1.0

Weekly downloads
-
License
-
Repository
-
Last release
2 years ago

Hoji Storefront

Netlify Status

This is the DApp for the Hoji Storefront.

Development

  1. Clone the repository
  2. Make sure you have node and yarn installed
  3. Run yarn to install dependencies
  4. Run yarn start to start the development of the frontend and it will automatically open the web frontend in your browser.
  5. This is a serverless application, so you can use the cloud functions to do a customized API.
    1. Use yarn cloud:run to develop your cloud functions.
    2. User yarn cloud:logs to see the logs
  6. 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.lock

Testing 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.localhost

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