Giter VIP home page Giter VIP logo

Comments (3)

coreybutler avatar coreybutler commented on May 18, 2024

I think what you're asking for is a visual way to start/stop/share the node.js server, just like the static servers. The server itself would be defined by the package.json file. You then want to pipe req/res to the request browser.

Did I get that right?

from fenix.

ryexley avatar ryexley commented on May 18, 2024

I'm not totally sure if thats right or not, as I don't understand how the internals of Fenix work (haven't gone source diving at all). Just saying that, if I run the app in my browser, and click on something that triggers an ajax request to an API hosted in the app at something like /api/... it would be really nice to be able to view the details of those ajax requests in the Request Browser. Would ultimately kind of provide a similar view that the Network tab in Chrome dev tools provides.

But also, yes, a simple, visual means of starting and stopping node apps for dev would also be really nice as well...very minor...one less terminal tab open, but... shrug

from fenix.

coreybutler avatar coreybutler commented on May 18, 2024

Gotcha - the network tab idea makes sense.

I don't think native integration for this makes sense in Fenix. There are just too many variations to support.

That said, it's possible to extend the Fenix API to write entries to the request browser. If an endpoint like this were available, it would be a matter of writing middleware for things like Express to stream the output to the request browser (or the log for that matter).

I'll have to think about that a bit. I have another OSS node project this might be more relevant to, but I wasn't really planning on releasing anything until Node 1.0.

from fenix.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.