https://github.com/dimabory/device-manager
📲 Simple Registry API underlying NodeJS & PostgreSQL
https://github.com/dimabory/device-manager
Last synced: over 1 year ago
JSON representation
📲 Simple Registry API underlying NodeJS & PostgreSQL
- Host: GitHub
- URL: https://github.com/dimabory/device-manager
- Owner: dimabory
- License: apache-2.0
- Created: 2019-02-12T16:53:05.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-02-13T10:07:33.000Z (over 7 years ago)
- Last Synced: 2025-01-16T21:45:27.488Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 143 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# device manager
[](https://github.com/airbnb/javascript)
Simple Registry and API for it.
## Run locally
### Prerequisites
- nvm https://github.com/creationix/nvm#installation (install latest LTS)
- [Docker](https://www.docker.com)
### Run the application locally
Install dependencies
```
$ npm i
```
Start database
```
docker-compose up -d
```
Run development server
```
$ npm run start:dev
```
Server will run on http://localhost:3000 (swagger-ui on http://localhost:3000/docs)
### Run tests
Locally
```
$ npm test
```
with coverage
```
$ npm run test:coverage
```