How to offline Node js application

(narendra yadav) #1

How to run offline node js application without internet connection using Mongodb escpress js

0 Likes

(Markus Tacker) #2

Robin has an extensive tutorial on how to set up you local environment here: https://www.robinwieruch.de/mongodb-express-setup-tutorial/

Make sure to check out the outher parts of that series:

  1. The minimal Node.js with Babel Setup
  2. How to setup Express.js in Node.js
  3. How to create a REST API with Express.js in Node.js
  4. Setup MongoDB with Mongoose in Express
  5. Creating a REST API with Express.js and MongoDB
1 Like

(narendra yadav) #3

without internet run the node app

0 Likes

(Markus Tacker) #4

If you follow this guide you can run the app with npm start.

0 Likes

(narendra yadav) #5

my app not local that is offline mode application without internet access our application how to install offline mode node application db use mongodb

0 Likes

(Markus Tacker) #6

MongoDB requires a server to run. There is no way to run MongoDB on the client. If you are looking for client side databases, check out https://pouchdb.com/

0 Likes