WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

phake-app/nestjs-mysql-typeorm-template

Repository files navigation

@phakedev/nestjs-mysql-typeorm-template

This template should help get you started developing with NestJS.

GitHub Template

Create a repo from this template on GitHub

Clone to local

npx degit phakedev/nestjs-mysql-typeorm-template my-app
cd my-app

Install dependencies

pnpm install

Run

Start a local server with the following terminal commands:

pnpm start:dev

Migration Guide

Usage

For run current migration state

  1. Check your migration queries in src/migrations
  2. pnpm run typeorm:run

For create new migration

  1. pnpm typeorm:migrate <entity-migration>
  2. Check your migration queries in src/migrations
  3. pnpm run typeorm:run

If everything went well, you have up to date entities and a migrations table listing applied migrations.

Reference links

About

🚀 This template should help get you started developing with NestJS, TypeORM + MySQL.

Topics

Resources

License

Stars

Watchers

Forks