Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/criticalmaps/criticalmaps-api
🗄️
https://github.com/criticalmaps/criticalmaps-api
Last synced: 5 days ago
JSON representation
🗄️
- Host: GitHub
- URL: https://github.com/criticalmaps/criticalmaps-api
- Owner: criticalmaps
- Archived: true
- Created: 2015-12-18T01:19:12.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2021-06-26T12:59:19.000Z (over 3 years ago)
- Last Synced: 2024-10-29T21:05:35.057Z (10 days ago)
- Language: JavaScript
- Homepage:
- Size: 396 KB
- Stars: 16
- Watchers: 3
- Forks: 6
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-starred - criticalmaps/criticalmaps-api - 🗄️ (others)
README
# Critical Maps API
[![Build Status](https://travis-ci.org/criticalmaps/criticalmaps-api.svg?branch=master)](https://travis-ci.org/criticalmaps/criticalmaps-api)
[![Code Climate](https://codeclimate.com/github/criticalmaps/criticalmaps-api/badges/gpa.svg)](https://codeclimate.com/github/criticalmaps/criticalmaps-api)
[![Test Coverage](https://codeclimate.com/github/criticalmaps/criticalmaps-api/badges/coverage.svg)](https://codeclimate.com/github/criticalmaps/criticalmaps-api/coverage)
[![Dependency Status](https://gemnasium.com/criticalmaps/criticalmaps-api.svg)](https://gemnasium.com/criticalmaps/criticalmaps-api)## Start development session with:
```docker-compose -f docker-compose.dev.yml up --build```
### Api will be available under:
http://localhost:3000### Debugger will be available at:
http://localhost:8080/?port=5858### phpPgAdmin is at:
http://localhost:8082/phppgadmin/## Migrations
```
docker build -t criticalmaps-db-migrations -f Dockerfile.migrations . && \
docker run \
-v $(pwd)/migrations/:/migrations/ \
-e DATABASE_URL=postgres://bla:bla@db/criticalmaps \
criticalmaps-db-migrations \
up
```docker exec -ti $(docker ps | grep postgres | awk '{ print $1}') /bin/bash
psql -d criticalmaps -U bla
## TODO
cors header??