Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Express, Sequelize and SQLite3 #33

Open
lifelong-learner-infinity opened this issue Nov 6, 2020 · 0 comments
Open

Express, Sequelize and SQLite3 #33

lifelong-learner-infinity opened this issue Nov 6, 2020 · 0 comments

Comments

@lifelong-learner-infinity
Copy link

lifelong-learner-infinity commented Nov 6, 2020

Hi @alexdevero,
Thank you so much for the boilerplate. Its AWESOME!!!

I started working on an Electron app with your boilerplate, and now, I need a database to store and retrieve data.
I have SQLite3 as my db, Sequelize as ORM and Express server for fetching the data via local API's

I am running the server separately as below, using concurrently library, but I am not sure if this solution is a good one.

"start:app": "cross-env NODE_ENV=development webpack serve --hot --host 0.0.0.0 --config=./webpack.dev.config.js",
"start:api": "node server.js",
"start": "concurrently \"npm run start:app\" \"npm run start:api\"",

Is there any better way to run the application using a single command?
Also, how can I use the same, when I build the project?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant