Skip to content

Commit

Permalink
Add simple rest server
Browse files Browse the repository at this point in the history
  • Loading branch information
christikaes committed Feb 16, 2020
1 parent e4ee107 commit 50c12ac
Show file tree
Hide file tree
Showing 5 changed files with 418 additions and 0 deletions.
1 change: 1 addition & 0 deletions server/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/node_modules
15 changes: 15 additions & 0 deletions server/endpoints.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@

## Endpoints

* [GET] [organizations] Gets all organizations
* [GET] [organizations/:id] Gets organization by ID
* [POST] [organizations/:id] Creates new organization by ID
* [PUT] [organizations/:id] Updates new organization by ID
* [DELETE] [organizations/:id] Delete organization by ID

---
* [users/:id] Gets User by ID
* [events] Gets all events
* [events/:id] Gets event details from ID


374 changes: 374 additions & 0 deletions server/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 50c12ac

Please sign in to comment.