TASK is a desktop application built with Electron and Express, developed using TypeScript. This project includes a basic structure for a web application with an Express backend and a desktop user interface using Electron.
- Backend: Express.js with TypeScript support.
- Frontend: Desktop user interface with Electron.
- Views: Using Pug as the templating engine.
- Build: Integration with
electron-builderfor packaging the application.
src/: Source code for the application.bin/www: Main entry for the Express server.
dist/: Output folder for TypeScript transpiled files.views/: Pug view templates.build/: Resources for the Electron build process.
start: Starts the application in production mode.npm start
build: Compiles TypeScript code to JavaScript. Run the command with Git Bash
npm run builddev: Starts the application in development mode using ts-node
npm run develectron: Launches the application in Electron mode
npm run electronbuild-electron: Builds the Electron application using electron-builder
npm run build-electron