Skip to content
This repository has been archived by the owner on Jan 14, 2019. It is now read-only.

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
slmyers committed Mar 17, 2018
1 parent 6b0b3d4 commit cc787a6
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 2 deletions.
17 changes: 16 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,25 @@

This is the `API` for the `YouCanBenefit` project.

It has two accessible routes:
# service dependencies
* [elasticsearch](https://www.elastic.co/products/elasticsearch)
* [install tutorial](https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-elasticsearch-on-ubuntu-16-04)

# setup
* `npm run prestart:prod`
* `npm run start:prod`
* one should use a process management tool
* `http get localhost:3000/data/init`
* this will create and map required elasticsearch indices


---

It has three accessible routes:

* `/protected/...`
* `/api/...`
* `/data/...`

There is no authentication service provided.

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "Nest TypeScript starter repository",
"license": "MIT",
"scripts": {
"start": "node index.js",
"start": "nodemon",
"start:watch": "nodemon",
"prestart:prod": "tsc",
"start:prod": "node dist/server.js",
Expand Down

0 comments on commit cc787a6

Please sign in to comment.