Skip to content

martin-trajanovski/nestjs-heroku-ready

Repository files navigation

Demo

The simple demo is connected with this API deployed on Heroku. It is developed using Nest.js (Angular inspired) Node.js framework

Clone the repository:

git clone https://github.com/martin-trajanovski/nestjs-heroku-ready.git

Navigate to the folder and install the dependencies:

yarn install

Serving an NestHerokuReady (Nestjs project) via a development server

Run yarn start for a dev server. Navigate to http://localhost:5000/. The app will automatically reload if you change any of the source files.

Build

Run yarn build to build the project. The build artifacts will be stored in the build/ directory. It is building with flag --prod by default.

Deployment

Create your account (or use existing one) on heroku go to dashboard click new->add new app and give it a name. Run command heroku git:remote -a <project-name> to add heroku remote in the git config file.

Use yarn deploy to be able to deploy it on heroku.

Further help

Feel free to contact me for any issues or problems.

Releases

No releases published

Packages

No packages published