Skip to content

Commit

Permalink
Merge branch 'develop' into feature/edit-single-product-route
Browse files Browse the repository at this point in the history
  • Loading branch information
alehuo authored May 9, 2018
2 parents 6097305 + a8450c2 commit 62b9fca
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,10 @@ Environment variables:
| PORT | Port used by the backend server |
| NODE_ENV | Environment for Node, can be one of `development`, `test` or `production`. |

## Testing practices

When developing, create tests for created endpoints and when felt useful. Use Mocha to write tests and mocking.

## Using REST client with VSCode

### Admin routes
Expand Down
2 changes: 1 addition & 1 deletion src/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
app.use('/api/v1/user/authenticate', auth_route);
app.use('/api/v1/user/account', account_route);
app.use('/api/v1/user/register', register_route);
app.use('/api/v1/user/products', user_products);
app.use('/api/v1/products', user_products);
app.use('/api/v1/categories', user_categories);
app.use('/api/v1/product/purchase', purchase_route);

Expand Down

0 comments on commit 62b9fca

Please sign in to comment.