1.0.7 ā€¢ Published 2 years ago

@kevinefra/boiler-node-kevinefra v1.0.7

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

Boiler NodeJS - Typescript

:chart_with_upwards_trend: Ready to Develop: Works out of the box for most Node.js projects.

āœ… All initial tools included and installed:

Getting Started

  • Prior Docker installation required
  • Rename .env.example to .env and set the variables

Clone the template:

$ git clone https://github.com/kevinefraim/boiler-node.git
$ cd boiler-node
$ npm install

Initialize the Server

$ npm run db-start
$ npm run watch

Migrations & Seeds

  • Set NODE_ENV=production in .env file
  • To generate a migration file and run it:
$ npm run migration:generate
$ npm run migration:up
  • To clear the DB run:
$ npm run typeorm schema:drop