Comments (3)
The servicemode
option is a special mode for the Total.js framework. It will run the app without an HTTP server. I didn't test this mode with the Flow, but the Flow uses our standard predefined starting script: https://github.com/totaljs/framework4/blob/master/helpers/index.js.
If you're looking for something special, please look at these repositories:
What is the service mode used for? Imagine that you need to create a service (not in Flow) that can do some DB operations or imports or provide some events without needing to publish its API. Service mode will run the app as usual, but without mentioning an HTTP server.
from flow.
Ah OK understand. If flow isn't started with a web server running would you essentially have to build your own UI and routers to interact with the application.
Am I right in assuming service mode just exposes the api ?
Apologies if I am missing some key concept here!
from flow.
Ah OK understand. If flow isn't started with a web server running would you essentially have to build your own UI and routers to interact with the application.
No because how do you want to build UI to the Flow if the web server is not started?
Am I right in assuming service mode just exposes the api ?
No, it doesn't expose the API. API is blocked/not started in service mode.
Apologies if I am missing some key concept here!
The service mode isn't meant for the service / REST API. It's deaf and blind.
from flow.
Related Issues (20)
- [Security] Stored XSS in platform name HOT 2
- Cannot install on a read only volume HOT 2
- add a sliding panel on flow.html HOT 1
- In a code component how do you "send" data from inside a loop HOT 3
- Designer render not correct after reload HOT 12
- Performance Issue with Large Flows HOT 16
- Exporting as a Component Performance HOT 5
- Message data values HOT 1
- How to use flow library with Angular 16? HOT 1
- Exception with pulling latest image for flow HOT 7
- New to total.js flow I don't know to use add link endpoint HOT 6
- Variable access from index.js HOT 4
- Function Component HOT 4
- Ques : Is there a way, we can just publish only flow and not designer section, so flow become read only HOT 2
- npm ERR! Missing script: "start" HOT 4
- Possible bug with messages HOT 5
- Docker Persistent storage example HOT 3
- Zooming bug
- can not localization HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flow.