Giter Site home page Giter Site logo

Comments (4)

cefn avatar cefn commented on July 30, 2024

OK, found a workaround. I needed to...

cd client

...then run...

node ../server/server.js

...meaning node to be able to find app/ css/ and so on. Whatever mechanism makes this happen automagically isn't working for me (if there's meant to be such a mechanism).

from breeze.js.samples.

ThomasBurleson avatar ThomasBurleson commented on July 30, 2024

The application/web server expects the current working directory to be in the /client directory.
So, you are correct:

cd <projectDir>/client
node ../server/server.js

The app server will serve the web content (static files and the Zza application) and acts as the remote service for the RESTful web service calls. The Zza client will make data requests to the app server which will then route those requests to load/persistent content from/to the mongo database.

Zza Client <--> NodeJS Web & App Server <--> Mongo Database

from breeze.js.samples.

wardbell avatar wardbell commented on July 30, 2024

Thanks, Thomas. The fault is entirely mine. We have made radical changes to this sample recently and published it without updated documentation. I've got excuses but that's the fact. I will update the doc so soon. Meanwhile, I've committed updated comments to server.js.

from breeze.js.samples.

cefn avatar cefn commented on July 30, 2024

Thanks, Ward and Thomas. I'm excited to try and work with Breeze now.

from breeze.js.samples.

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.