I’d definitely like to see.  Gist?

-- 
Matt Hughes

On December 12, 2013 at 9:48:26 AM, Mark Volkmann ([email protected]) 
wrote:

I have a Node script that runs an HTTP server using Express. It looks for 
certain HTTP requests and returns fake data. For any requests it isn't looking 
for, it forwards the request onto our real server which happens to be Tomcat 
and hits a database to get data.

This has worked out great. When the real back-end is ready I just need to 
remove a few lines of code from the Node script. I'd be happy to share that 
script if anyone is interested.


On Wed, Dec 11, 2013 at 5:07 PM, Matt Hughes <[email protected]> wrote:
Does anyone have any good strategies for developing fake data to run your app 
against?  I'm currently laying out some screens with server resources in mind 
but they aren't developed yet.  Ideally, I'd like to be able to run my app with 
a bunch of fake data generated in JS.  My thoughts are if I hit my app with a 
?dummyData=true, I would somehow switch to using httpBackend and have code that 
would generate fake data for each resource.

Has anyone done anything like this?  I currently hard-code the fake data 
generation in my controllers and then when the backend is ready, I switch over 
to the real thing. 
--
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/groups/opt_out.



--
R. Mark Volkmann
Object Computing, Inc.
--
You received this message because you are subscribed to a topic in the Google 
Groups "AngularJS" group.
To unsubscribe from this topic, visit 
https://groups.google.com/d/topic/angular/ji6qIUX04FY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to 
[email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/groups/opt_out.

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to