HTTP Express Server deployed on Heroku.
Deployment URL: https://express-server-deployment.herokuapp.com/
Install via git:
- http:
git clone https://github.com/JacobKnaack/express-server-deployment.git - ssh:
git clone git@github.com:JacobKnaack/express-server-deployment.git
cd into express-server-deployment
run npm install
To start server run : npm start
To test server run: npm test
- Model
- text: String
- author: String
-
Method:
GET -
Path:
/message -
response:
- type:
application/json - body:
[Message.Model]
- type:
-
Method:
POST -
path:
/message -
queryParams:
- text:
?text=String - author:
?author=String
- text:
-
response:
- type:
application/json - body:
Message.Model
- type:
