Let the magic happen
npx bananasplit-js new "my-app" --git
or
DownloadAdd your environment variables to .env
yarn build:stack | npm run build:stack
Easy and fast as you can't imagine
# [Sequelize]
DB_DIALECT=mysql
# [Database]
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=my-database
DB_USERNAME=bananasplit-js
DB_PASSWORD=secret
Add your database engine, database name, and credentials. No need to create the database.
# choose your package manager
yarn build:stack
npm run build:stack
It detects your package manager and database in order to install Express, Typescript, Sequelize, Jest and drivers! It also will run an integration test to check the setup
# choose your package manager
yarn dev
npm run dev
The services are already written. Your database is already created. Just run the development server and start to code!
yarn build
yarn route:list
yarn generator:create
yarn test:watch
yarn upgrade:stack
yarn lint:fix
The swiss knife of scripts. Pick up what you need: Run the route inspector, create fake data in command-line, run tests in coverage mode, etc...
Start with strong wings
A predefined structure project with an intelligent modularization
All your stack installed and configured ready to code!
No need to write a line to start. The server is ready
A set of template files including routes, controllers, models, tests, and more
The same Express code you always knew
Documented code based on the most professional practices