Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jedirhymetrix/parkinglot
Ethereum Blockchain project which uses blockchain to build a smart parking lot system.
https://github.com/jedirhymetrix/parkinglot
blockchain dapp nodejs solidity solidity-contracts truffle webpack
Last synced: 20 days ago
JSON representation
Ethereum Blockchain project which uses blockchain to build a smart parking lot system.
- Host: GitHub
- URL: https://github.com/jedirhymetrix/parkinglot
- Owner: JediRhymeTrix
- Created: 2017-07-07T11:47:15.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-07-09T20:13:49.000Z (over 7 years ago)
- Last Synced: 2024-11-16T10:30:52.525Z (2 months ago)
- Topics: blockchain, dapp, nodejs, solidity, solidity-contracts, truffle, webpack
- Language: JavaScript
- Size: 1.26 MB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# truffle-init-webpack
Example webpack project with Truffle. Includes contracts, migrations, tests, user interface and webpack build pipeline.## Usage
To initialize a project with this exapmple, run `truffle init webpack` inside an empty directory.
## Building and the frontend
1. First run `truffle compile`, then run `truffle migrate` to deploy the contracts onto your network of choice (default "development").
1. Then run `npm run dev` to build the app and serve it on http://localhost:8080## Possible upgrades
* Use the webpack hotloader to sense when contracts or javascript have been recompiled and rebuild the application. Contributions welcome!
## Common Errors
* **Error: Can't resolve '../build/contracts/MetaCoin.json'**
This means you haven't compiled or migrated your contracts yet. Run `truffle compile` and `truffle migrate` first.
Full error:
```
ERROR in ./app/main.js
Module not found: Error: Can't resolve '../build/contracts/MetaCoin.json' in '/Users/tim/Documents/workspace/Consensys/test3/app'
@ ./app/main.js 11:16-59
```