ethereum-boilerplate
v0.1.0
Published
[![Netlify Status](https://api.netlify.com/api/v1/badges/4239c413-cb25-4328-9d52-b41e45609452/deploy-status)](https://app.netlify.com/sites/hoji-storefront/deploys)
Downloads
2
Readme
Hoji Storefront
This is the DApp for the Hoji Storefront.
Development
- Clone the repository
- Make sure you have node and yarn installed
- Run
yarn
to install dependencies - Run
yarn start
to 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:run
to develop your cloud functions. - User
yarn cloud:logs
to 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.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.