An out-of-the-box M(ySQL)EVN-ready environment.
- Clone the repo
git clone https://github.com/emilianomaccaferri/boilerplate
- Install everything needed
npm install -g typescript sass pm2
npm install
- Create a
.env
file
Create a.env
file and put the minimum required config fields
e.g:
PORT=8080
URI=http://localhost:8080
-
Start!
npm run app
— start withoutpm2
npm run daemonized
— start withpm2
-
Enjoy!
I will change stuff every now and then (for example, I'll try to add TypeScript support in .vue files) so stay tuned!