Starter Project for TypeScript, NodeJS and Express.
Clone the repository, install the dependencies and get started right away. Make sure you already have nodejs, npm and yarn installed in your system.
$ yarn
Create a .env file for application specific environment variables and update it according to your database & env specific params.
$ cp .env.example .envYou'll need to run migrations to get your database ready.
# Run Migrations and seeds
$ yarn migrateRun the server locally using nodemon on typescript watch mode.
$ yarn start # or npm startFirst, build the application.
$ yarn build # or npm run buildThen, use pm2 to start the application as a service.
$ yarn service:start # or npm run service:startRunning all tests.
# Running all tests.
$ yarn test
# Running all tests in watch mode.
$ yarn test:watchRunning all API tests (Acceptance Tests).
$ yarn test:apiRunning all Unit Tests.
$ yarn test:unitLicensed under MIT License.