Skip to content

Instantly share code, notes, and snippets.

@tlcheah2
Last active May 2, 2021 04:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tlcheah2/db5881587866240f13ba72c114acd9e3 to your computer and use it in GitHub Desktop.
Save tlcheah2/db5881587866240f13ba72c114acd9e3 to your computer and use it in GitHub Desktop.
Step by step guide on bootstrapping sequelize migration repository
# Create your project folder
mkdir sequelize-migration-microservice-example # This is your project name
# Navigate into your project folder
cd sequelize-migration-microservice-example
# Init npm project
npm init -y // # This will quickly create a package.json template
# Install sequelize as project dependencies
npm i -s sequelize
# Install sequelize-cli as dev-dependencies
npm i --save-dev sequelize-cli
# Bootstrapping the migration project using sequelize-cli
npx sequelize-cli init
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment