Note: This has been moved to https://github.com/bedrockio/bedrock-core
Here's an app skeleton that binds together common frameworks du-jour:
Note: The purpose of this skeleton is to provide a simple UI skeleton that can be supplemented with backend/deployment specific tools (Node, Ethereum, Mobile, etc).
- Seemless pushState routing using React Router V4
- Full login/signup flow with separate dashboard and homepage router
- All CSS and assets served via Webpack/StyleLoader
- Uses Semantic UI as a rich UI element base
- Uses ES6 style React components
- Code hotswapping
- Static server
Run in the project root folder:
npm install
The following command serves all HTML/JS/CSS and watches all changes to src/*.js
npm start
UI is running at http://localhost:3001/ Admin is running at http://localhost:3002/
package.json
- Configure dependencieswebpack.config.js
- Bundling and build configurationserve-static
- Static serverserve
- Static server for developmentdist/*
- Files generated by webpack, incuding index.html. These are the assets that should be HTTP servedsrc/utils
- Home of specific JS helper utilities like for examplerequest.js
for doing API requestssrc/components
- Home of reuseable componentssrc/assets
- Images, favicons, pdf ...src/config
- Configurationssrc/App/*
- Components that are tightly coupled to the App UIsrc/App/index
- Main entrypoint into App UIsrc/Admin/*
- Components that are tightly coupled to the Admin UIsrc/Admin/index
- Main entrypoint into Admin UI
- Bundle improvements
- Add Dashboard section
- Add settings section
- Admin UI