Rails server application for Vute.
by Karian Før
HEIG-VD • HE-Arc • MASRAD2 - Master of Advanced Studies in Rapid Application Development 2
- Press the Heroku Deploy Button below to deploy this application on your own Heroku account.
- Name you app.
- Set the
CLIENTS_URL
environment variable with a wildcard*
if you want to test the API from any client.
- Look at the documentation.
- Test the example app on
https://vute-server.herokuapp.com
(see request examples below).
- Copy & paste these cURL requests into your terminal to try the API.
- Feel free to build new requests, create new users...
curl "https://vute-server.herokuapp.com/api/v1/users" -d '{"data":{"type":"users","attributes":{"name":"jim","email":"jim@rod.com","password":"jimy"}}}' -X POST \
-H "Content-Type: application/vnd.api+json" \
-H "Accept: application/vnd.api+json"
curl "https://vute-server.herokuapp.com/oauth/token" -d '{"grant_type":"password","username":"jim","password":"jimy"}' -X POST \
-H "Content-Type: application/json"
- All the requests are in the documentation.
- Look at the vute-client-ember client application.