Skip to content

briandiaz/housefinder

Repository files navigation

Housefinder

Build Status

Description

This is a basic airbnb backend clone where you can create listings, store photos to S3, alongside with JWT authentication and Swagger API documentation.

Installation

$ npm install

Run Migrations

# Prepare migrations
$ npm run migration:prepare

# Generate migrations
$ npm run migration:generate InitialMigration

# Run migrations
$ npm run migration:run

Running the app

# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run start:prod

Test

# unit tests
$ npm run test

# e2e tests
$ npm run test:e2e

# test coverage
$ npm run test:cov