Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
mariojrrc committed Mar 19, 2024
1 parent 042b326 commit 001a324
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,16 @@ The endpoint's documentation is located in `/docs` folder. It was written on top
4. Make calls to the endpoints via [Postman](https://www.getpostman.com/) or similar in the following address `0.0.0.0:3000/v1/state`

**Using it with Docker**
1. `docker-compose up -d`
1. `docker compose up -d`
2. Optionally run `docker exec -it geonames-node bash -c 'node command.js populate:db --drop'` to seed the database.
3. Make calls to the endpoints via [Postman](https://www.getpostman.com/) or similar in the following address `0.0.0.0:8080/v1/state`

## Running tests
1. Run `npm run test`

## Live Demo
1. You can check the api running on Heroku by clicking [here](https://geonames-api-node.herokuapp.com/health).
2. You can check the simple Vue.js app running on Heroku by clicking [here](https://geonames-vue.herokuapp.com).
1. You can check the api running on ~~Heroku~~ by clicking [here](https://geonames-api-node.herokuapp.com/health).
2. You can check the simple Vue.js app running on ~~Heroku~~ by clicking [here](https://geonames-vue.herokuapp.com).

## Questions and Suggestions?
Drop me an [e-mail](mailto:[email protected])
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ services:
- geonames-network

geonames-node:
image: mariojrrc/geonames-node
build: .
container_name: geonames-node
restart: unless-stopped
environment:
Expand Down

0 comments on commit 001a324

Please sign in to comment.