Comments (4)
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.
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.
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.
Thanks, Ward and Thomas. I'm excited to try and work with Breeze now.
from breeze.js.samples.
Related Issues (20)
- DocCode sample fails to resolve breeze references HOT 1
- ODataBreezejsSample is missing a file of EdmBuilder.cs HOT 1
- access zza database HOT 2
- Did you finished all stuffs on the backlog? HOT 5
- How to reference self entities with Breeze.js ? HOT 1
- New items in Todo-zuma app not stashed HOT 2
- Missing breeze.modelLibrary.backbone.js HOT 1
- Relative URLs within odata $batch requests receive 404; SaveChanges fails HOT 12
- breeze.bridge.angular.js missing HOT 1
- Using - SaveBundleToSaveMap HOT 6
- EdmBuilder is missing in BOWA sample HOT 1
- sample todo-angular responds with 500 HOT 1
- Possible typo in zza-node-mongo
- Unable to locate Lookups message on first try
- node/tempHire/server/routes.js line 544 issue
- yo!! can we please get an NG2 sample with .net Core? HOT 3
- rxjs compile errors due to typescript < 2.0 HOT 1
- React - Redux example ?
- edmunds sample no longer works as they have retired their public API
- Breeze DocCode fails some tests
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 breeze.js.samples.