2019-08-18 17:09:47 +03:00
|
|
|
|
## Fluid – decentralized twitter-like feed built on Fluence with SQLite
|
|
|
|
|
|
|
|
|
|
This is a frontend part of Fluid.
|
|
|
|
|
|
|
|
|
|
## Structure
|
|
|
|
|
|
|
|
|
|
- `fluence` - directory where all interaction with Fluence network happens
|
|
|
|
|
- `components` - basic components of Fluid web page (feed, connection toggle, new message block)
|
|
|
|
|
- `actions` - dispatch methods for components
|
|
|
|
|
- `middleware` - extensions for React
|
|
|
|
|
- `reducers` - handling state updates
|
2019-08-17 18:06:52 +03:00
|
|
|
|
|
|
|
|
|
## Available Scripts
|
|
|
|
|
|
|
|
|
|
In the project directory, you can run:
|
|
|
|
|
|
|
|
|
|
### `npm start`
|
|
|
|
|
|
|
|
|
|
Runs the app in the development mode.<br>
|
|
|
|
|
Open [http://localhost:3000](http://localhost:3000) to view it in the browser.
|
|
|
|
|
|
|
|
|
|
The page will reload if you make edits.<br>
|
|
|
|
|
You will also see any lint errors in the console.
|
|
|
|
|
|
|
|
|
|
### `npm run build`
|
|
|
|
|
|
|
|
|
|
Builds the app for production to the `build` folder.<br>
|
|
|
|
|
It correctly bundles React in production mode and optimizes the build for the best performance.
|
|
|
|
|
|
|
|
|
|
The build is minified and the filenames include the hashes.<br>
|
|
|
|
|
Your app is ready to be deployed!
|
|
|
|
|
|