# osm-stats-api
User facing API for Missing Maps statistics.

Dependency:
- Docker redis
- .env file containing:
  - DATABASE_URL: a postgres string

```
docker build -t osm-stats-api
docker run -d -p 3000:3000 --link some-redis-container:redis --env-file .env osm-stats-api
```

# osm-stats-api
User facing API for Missing Maps statistics.

Dependency:
- Docker redis
- .env file containing:
  - DATABASE_URL: a postgres string

```
docker build -t osm-stats-api
docker run -d -p 3000:3000 --link some-redis-container:redis --env-file .env osm-stats-api
```

### API Endpoints and Documentation

  - [/root](https://github.com/AmericanRedCross/osm-stats/blob/master/documentation/API.md#-root-endpoint)
  - [/users](https://github.com/AmericanRedCross/osm-stats/blob/master/documentation/API.md#users-endpoint)
  - [/users/{user_id#}](https://github.com/AmericanRedCross/osm-stats/blob/master/documentation/API.md#usersuser_id-endpoint)
  - [/hashtags](https://github.com/AmericanRedCross/osm-stats/blob/master/documentation/API.md#hashtags-endpoint)
  - [/hashtags/{hashtag-name}](https://github.com/AmericanRedCross/osm-stats/blob/master/documentation/API.md#hashtagshashtag-name-endpoint)
  - [/group-summaries/{hashtag-name-1, hashtag-name-2, ...} ](https://github.com/AmericanRedCross/osm-stats/blob/master/documentation/API.md#group-summarieshashtag-name-1-hashtag-name-2--endpoint)
  - [/top-users/{hashtag-name}](https://github.com/AmericanRedCross/osm-stats/blob/master/documentation/API.md#top-usershashtag-name-endpoint)
  - [/hashtags/{hashtag-name}/map](https://github.com/AmericanRedCross/osm-stats/blob/master/documentation/API.md#hashtagshashtag-namemap-endpoint)

All endpoints and additional documentation can be found in the [osm-stats API documentation](https://github.com/AmericanRedCross/osm-stats/blob/master/documentation/API.md).

Add endpoints and links to API documentation
Add endpoints and links to API documentation