GithubHelp home page GithubHelp logo

johnazre / deploy-to-heroku-express-knex Goto Github PK

View Code? Open in Web Editor NEW
9.0 3.0 4.0 13 KB

Repo for the Deploy to Heroku with Express and Knex

Home Page: https://youtu.be/CCHQpkc10s4

JavaScript 98.59% HTML 1.41%

deploy-to-heroku-express-knex's Introduction

DBConfig

A command line tool to help you get your node database tools up and running!

Currently works with:

  • KnexJS

Installation:

npm install -g dbconfig

Usage

dbconfig knex [ type ] [ options ]

Type:

  • scaffold: Will create knexfile.js, server.js, .gitignore, and package.json

    Example usage: dbconfig knex scaffold --dbname=someDBName --create-dir=newapp

  • simple: Will only create knexfile.js ex: dbconfig knex simple

    Example usage: dbconfig knex simple --dbname=someDBName

Options:

--dbname Replace "dbname" with the database you will be using, otherwise it will default to the database name "postgres"

Example usage: dbconfig knex scaffold --dbname=someDBName

--create-dir Will create directory and put all of the files inside of that directory. Defaults to "new-app".

Example usage: dbconfig knex scaffold --create-dir=someProjectName

Getting Started

  • To put the necessary files into an existing project: dbconfig knex simple --dbname=someDBName
  • To create a new project with all necessary files to get started: dbconfig knex scaffold --dbname=someDBName --create-dir=someProjectName

Contributions

This project is open source and pull requests are welcome!

Found an Issue?

If you find a bug in the source code or a mistake in the documentation, you can help us by submitting an issue to our GitHub Repository. Even better, you can submit a Pull Request with a fix.

Want a Feature?

You can request a new feature by submitting an issue to our GitHub Repository. If you would like to implement a new feature, please submit an issue with a proposal for your work first, to be sure that we can use it.

License

MIT

deploy-to-heroku-express-knex's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.