gemboot-framework
v1.0.0
Published
Gem Boot JS Framework (ExpressJS Boilerplate)
Downloads
2
Maintainers
Readme
GemBootJS
GemBoot is a NodeJS Boilerplate for boosting development time.
Installation
GemBoot CLI
/\/|____ _____ __ __ ____ ___ ___ _____ ____ _ ___ /\/|
|/\// ___|| ____|| \/ || __ ) / _ \ / _ \|_ _| / ___|| | |_ _||/\/
| | _ | _| | |\/| || _ \ | | | || | | | | | _____ | | | | | |
| |_| || |___ | | | || |_) || |_| || |_| | | ||_____|| |___ | |___ | |
\____||_____||_| |_||____/ \___/ \___/ |_| \____||_____||___|
$ npm install -g gemboot-cli
$ gemboot create [PROJECT NAME]
More at: github:gemboot-cli
Environment
Dont forget to copy .env.dev to .env and fill the environment variables as you need.
Migration
We're using knex to migrate our migration:
First install knex globally:
npm install -g knex
Second run knex migrate:
knex migrate:latest
NB:
Make sure your database are set in your .env file
Code Generator
Use this helper tool for generating controller/model/repository or all of them
node partij add
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.