https://github.com/falinor/geo
https://github.com/falinor/geo
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/falinor/geo
- Owner: Falinor
- Created: 2016-11-27T15:55:21.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-11-27T19:17:39.000Z (over 9 years ago)
- Last Synced: 2025-10-10T11:31:55.757Z (8 months ago)
- Language: JavaScript
- Size: 5.86 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# server
[](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
```
--------------------------------------------------------------------------------