Basic knowledge

Process

the framework has two processes

  • ee main process:business logic
  • ee rendering process:Software UI

    Communication

  • ipc:front end ⇋ business layer (two-way communication)

  • http:frontend, command line, and browser ⇋ business layer (one-way communication)
  • socket:front end ⇋ business layer (two-way communication)

    Local Storage

  • Json Database

  • Sqlite Database

    Developer Mode

    Software Interface

    Go to the “frontend” directory and develop the software interface. Support any frontend technology, such as vue, react, angular, html, etc. ```json

    enter【front end directory】

    cd frontend

installation dependency

npm install

start service

npm run serve

  1. Note: If the frontend service started is not http:// localhost: 8080/, Configure: [config](https://www.yuque.com/u34495/ee-doc/guk1x0)development mode in the file"
  2. <a name="XwEw8"></a>
  3. #### **Business logic **
  4. "electron" directory, business development; General business logic, calling operating system api, accessing remote servers, etc. <br />Start the service in the root directory of the project
  5. ```json
  6. # start back-end service
  7. npm run dev
  8. # hot reload
  9. npm run reload

Demo

the downloaded project has a demo of various functions. For beginners, please learn it briefly for quick start.