This repository contains the Node server and its endpoints provided by the Suplex API.
List of current (hopefully) endpoints that are available. Please see https://github.com/RobCoInc/server/issues/7 if you require another endpoint that does not exist.
Type: GET
Description: Returns all users
http://localhost/api/users
Type: GET
Description: Returns the user with a specified email address
http://localhost/api/users/getUserByEmail/[email]
Type: GET
Description: Returns the user with a specified id
http://localhost/api/users/getUserById/[id]
Type: POST
Description: Adds a new user to the user table
http://localhost/api/users
Type: GET
Description: Returns all companys
http://localhost/api/companys
Type: POST
Description: Adds a new company to the company table
http://localhost/api/companys