DoJo2 and Nodejs


#1

Hello,

I’m writing an application with DoJo2 and NodeJs (as I need database calls and other stuff on server side). How is it possible to link both, DoJo2 and Nodejs (with express.js)?

Is there a sample on GitHub or a tutorial somewhere?

Kind regards


#2

As in you want to use Dojo on the server-side, or meaning you want to use Dojo on the client-side and connect to Express via RESTful calls? The most common approaches would be to use dojo/stores to manage the application state and data, and then the built-in fetch API to request data from the server.

If you can be more specific about your use cases, we can provide further guidance.