It's pretty simple, we check if local version is equal to version on github, and the backend take's care about everything else
OPEN SOURCE VERSION Outdated version: https://github.com/YoungDaggerDee/ToDoApp-Outdated The reason i created a new repository was, because i had unsolvable it problem in there :( Keep on mind that this app was designed and created on MacOS, that means that it doesn't have to compatible. This project doesnt contains any css file yet. Im using bootstrap 4. This app can be was tested on macos and windows.
To install them all just type ( npm install ), that should do everything that's needed. Some modules may not be used right now, but im working to get all of them used. Feel free to remove unused modules.
- electron (builder / reload)
- reload
- opn
- readline ( used by update.js - npm run update )
- mysql
- nexe
To start this app, use command ( npm start ) Or type ( npm run ) to see all scripts :) Or you can run any module with basic node command (for example node index.js)
To create build use npm run build, make sure that in package.json, you have "mode" set to "production" unless you wanna test it.
This app has 2 modes in package.json which are 'development' and 'production' These modes server mostly for developers. For example developer mode:
- GitHub button
- Load time
- Dev log ( show versions with added stuff ) Production is the way how the app will look like when it's out for everyone else. DON'T FORGET TO SWITCH THE MODE BACK TO PRODUCTION WHEN YOU WILL CREATE A BUILD!
- Run the app with everything that it need
- Inside folder "Build" it creates the accual app
- Create a new version with text news and insert object into version_log.json
- Fastest way how to switch between development and production mod in package.json
-
Language Options ( with some most important languages ) Database connection Database login Faster and Better code :) Settings (backend) BUGS Browser refuse to load local files There are couple ways how to fix this. I'm using live-server. install live-server with nodejs run live-server You may get error from nodejs, that some module may be damaged. delete fodler node_modules run npm install run the app @DanielSeiner, 2020