Skip to content

Commit d03217c

Browse files
committed
heroku tweaks
1 parent bcd55b4 commit d03217c

File tree

4 files changed

+16
-1
lines changed

4 files changed

+16
-1
lines changed

app.json

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"name": "seans-typescript-nodejs-crud-rest-api-boilerplate",
3+
"description": "A barebones TypeScript Node.js CRUD REST API",
4+
"repository": "https://github.com/Sean-Bradley/Seans-TypeScript-NodeJS-CRUD-REST-API-Boilerplate",
5+
"logo": "https://github.com/Sean-Bradley/Seans-TypeScript-NodeJS-CRUD-REST-API-Boilerplate/blob/master/cosmo1.png",
6+
"keywords": ["node", "typescript", "crud", "seanwasere"]
7+
}

cosmo1.png

79.1 KB
Loading

readme.md

+8
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,14 @@ Visit `http://localhost:3000/swagger` to view the OPENAPI document in Swagger-UI
3636
I've also added gitlab-ci.yml and dockerised with Docker-Compose. See video tutorial on how all this works.
3737
[![CI/CD a NodeJS API with Docker-Compose and GitLab](https://img.youtube.com/vi/Qlj6NiOy5jM/0.jpg)](https://youtu.be/Qlj6NiOy5jM)
3838

39+
## Heroku
40+
You can also test this on heroku
41+
https://seans-typescript-nodejs-crud.herokuapp.com/cats
42+
or Swagger
43+
https://seans-typescript-nodejs-crud.herokuapp.com/swagger
44+
45+
[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/Sean-Bradley/Seans-TypeScript-NodeJS-CRUD-REST-API-Boilerplate)
46+
3947
## Usage
4048

4149
### List all records

src/swagger.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"servers": [
1313
{
1414
"url": "/",
15-
"description": "Local Dev"
15+
"description": "Local Dev, or from Heroku"
1616
},
1717
{
1818
"url": "/api/",

0 commit comments

Comments
 (0)