Publication tool for cabins on UT.no and Nasjonal Turbase.
- Docker >=
v1.7
- Docker Compose >=
v1.2
Method | Path | Description |
---|---|---|
GET | /api/v1/cabin |
List cabins |
POST | /api/v1/cabin |
Create new cabin |
GET | /api/v1/cabin/:id |
Get existing cabin |
POST | /api/v1/cabin/:id |
Update existing cabin |
POST | /api/v1/photo |
Create new photo |
GET | /api/v1/photo/:id |
Get existing photo |
POST | /api/v1/photo/:id |
Update existing photo |
NTB_API_ENV=dev
NTB_API_KEY=<your api key here>
$ docker-compose run --rm server npm test
$ docker-compose run --rm server npm run watch
$ docker-compose up