SimulatedGREG / electron-vue

An Electron & Vue.js quick start boilerplate with vue-cli scaffolding, common Vue plugins, electron-packager/electron-builder, unit/e2e testing, vue-devtools, and webpack.
https://simulatedgreg.gitbooks.io/electron-vue/content/
MIT License
15.47k stars 1.54k forks source link

Run a REST API server with electron-vue #775

Open upendra-web opened 5 years ago

upendra-web commented 5 years ago

First of all, thanks for the boilerplate which is really helpful to many people for kickstarting their projects.

Can anyone tell me how to start a REST API server (express) with electron-vue. An example is much appreciated.

Thanks in advance.

gabrielstuff commented 5 years ago

hello,

@upendra-web, please look here: https://github.com/gabrielstuff/electron-express-server Made a rapid example, that will allow you to understand what you can do with electron and express.

This simple example is configured with pug template engine, multer for file uploading and standard-settings for configuration.

It uses a fork of electron-vue that you can find here: https://github.com/soixantecircuits/electron-vue

Enjoy !