https://github.com/gicehajunior/xfixcore-electron
Application Boilerplate made with electron framework.
https://github.com/gicehajunior/xfixcore-electron
electron node sequelize sequelize-orm vanilla-javascript
Last synced: about 2 months ago
JSON representation
Application Boilerplate made with electron framework.
- Host: GitHub
- URL: https://github.com/gicehajunior/xfixcore-electron
- Owner: Gicehajunior
- License: mit
- Created: 2022-07-15T16:53:17.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2025-04-16T08:32:46.000Z (about 1 year ago)
- Last Synced: 2025-06-15T18:04:17.639Z (about 1 year ago)
- Topics: electron, node, sequelize, sequelize-orm, vanilla-javascript
- Language: JavaScript
- Homepage:
- Size: 805 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: ReadMe.md
- License: LICENSE
Awesome Lists containing this project
README
# xfixcore-electron | Desktop App Boilerplate (Powered by Electron)
A boilerplate to give you a head start in developing your own desktop application using modern technologies.
---
## π Tech Stack
This boilerplate includes:
- β‘ **Electron** (for desktop app development)
- π§ **Sequelize ORM**
- π¨ **Node.js**
- π **Vanilla JavaScript**
- π¨ **HTML, CSS**, and **Bootstrap**
---
## ποΈ Supported Databases
Currently tested with:
1. **MySQL**
2. **SQLite**
You can choose your preferred database β both are supported.
> πΉ *SQLite* can run in-memory or be stored in the projectβs root directory.
_More databases will be supported in future updates._
---
## π§ Getting Started
Follow these steps to set up and run the project locally.
---
### π₯ Requirements
Ensure the following are installed:
- [Node.js](https://nodejs.org/en/download/)
- [Git](https://git-scm.com/downloads)
Set up Git on your machine using the [Git First-Time Setup Guide](https://git-scm.com/book/en/v2/Getting-Started-First-Time-Git-Setup).
---
### π¦ Installation
1. **Clone the repository:**
```bash
git clone -b main https://github.com/Gicehajunior/app-boilerplate-electron.git
```
_Or download the [ZIP file](https://github.com/Gicehajunior/app-boilerplate-electron/archive/refs/heads/main.zip)_
2. **Move the project** to a directory of your choice.
3. **Open the project** in your preferred IDE.
> π‘ Recommended: [Visual Studio Code](https://code.visualstudio.com)
4. **Create a `.env` file** in the root directory.
5. **Copy contents** from `.env-example` into your `.env`.
6. **Set your environment variables** accordingly.
---
### π§© Database Configuration
Below include the databases tested on this boilerplate, but not limited on the types of databases the boilerplate supports out of the box
#### β€ For SQLite:
```env
DB_CONN=sqlite
DB_NAME=your_sqlite_db_name
```
#### β€ For MySQL:
```env
DB_CONN=mysql
DB_NAME=your_mysql_db_name
```
Choose based on your preference. Both work well.
---
### βΆοΈ Running the Application
After setup, run the app with:
```bash
cd your_project_directory
npm install
npm run build
npm start # or use npm run dev for development mode
```
---
## π§ Application Architecture
This project follows the **MVC (Model-View-Controller)** pattern.
Stay tuned to the repository for deeper insights and documentation.
---
## π€ Contribution
Want to contribute? Awesome!
- Fork the repo
- Create your branch
- Commit changes
- Submit a pull request
All valid PRs will be reviewed and merged.
---
## π Issues
Have an issue or suggestion?
- Open an [issue](https://github.com/Gicehajunior/app-boilerplate-electron/issues)
- Constructive feedback is welcome
> β οΈ _Note: Criticism must be code-related. Irrelevant or personal comments will not be accepted._
---
## π License
This project is licensed under the [MIT License](https://github.com/Gicehajunior/app-boilerplate-electron/blob/main/LICENSE).
---
Happy coding! π
```