mirror of
https://github.com/fluencelabs/fluid
synced 2025-03-28 08:01:02 +00:00
33 lines
989 B
Markdown
33 lines
989 B
Markdown
## 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
|
||
|
||
## 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!
|
||
|