Node Js Comments

  1. Whenever we create a project using npm, we need to provide a package.json file, which has all the details about our project. npm makes it easy for us to set up this file. Let us set up our development project.
    comment – npm init

2 . Now run the following command to install Electron globally
comment – npm install -g electron-prebuilt

  1. you can check if Electron is installed the right way by running the following command
    comment – electron –version
  2. Run the file in electron json
    comment – electron main.js

npm init (create the initial structure for your new project:)
npm install -g node-modules
npm start – to compile and run the app
packages are installed on node_modules (if include “g” in comment it will install globally)
npm install electon-packager (to install the modules on node)
“start”: “electron .” (package-json – to run the application)
“start”: “electron-packager .” (package.json – to make file package and make the exe file)

Sqlite API – https://github.com/mapbox/node-sqlite3/wiki/API

sqlite3 connection – https://github.com/mapbox/node-sqlite3

https://electronjs.org/docs/tutorial/first-app

npm install -g windows-build-tools (can’t find module – electron-v5.0-win32-x64\node_sqlite3.node)


https://account.mapbox.com/

kasirajan.m@vividinfotech.com / vivid@123

Create map in mapbox – https://www.youtube.com/watch?v=aICgxZdlB5g

https://docs.mapbox.com/help/how-mapbox-works/

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s