This is a sample desktop app created with Electron js and mysql.
- Git
- npm
- Mysql 5.7 or latest
- Create a new database.
- Inside that database, create a new table as
user_profile
Field | Type | Null | Key | Default | Extra |
---|---|---|---|---|---|
id | bigint(20) | NO | PRI | NULL | auto_increment |
city | varchar(255) | YES | NULL | ||
display_name | varchar(255) | YES | NULL |
-
Clone the repository
-
Go into the repository
-
Install dependencies
$ npm install
-
Update the database configurations given in
db-config.json
-
Run the app
npm start
References: