An open API service indexing awesome lists of open source software.

https://github.com/falinor/geo


https://github.com/falinor/geo

Last synced: 8 months ago
JSON representation

Awesome Lists containing this project

README

          

# server

[![generator-api](https://img.shields.io/badge/built%20with-generator--api-green.svg)](https://github.com/ndelvalle/generator-api)

## dependencies

[Docker](https://docs.docker.com/engine/installation/) :whale: & [docker-compose](https://docs.docker.com/compose/install/).

## developing

run locally run using docker-compose:

```bash
sudo docker-compose up
```

the app runs on `localhost:8080`

## production

build the Docker :whale: container and run it:

_you'll likely be consuming mongodb as a service, so make sure you set the env var to connect to it._

```bash
sudo docker build -t .
sudo docker run \
-p :8080 \
-d \
-e MONGO_DB_URI=mongodb://:@: \
npm run start
```

--------------------------------------------------------------------------------