This repository has been archived by the owner on Mar 26, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
36 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,15 @@ | ||
# dreamfactory-playground | ||
Rocha's DreamFactory playground (aka: I'm just testing DreamFactory, a open souce BaaS) | ||
DreamFactory id a open source software package that provides a complete REST | ||
API for mobile, web, and IoT applications. This repository is just a playground, | ||
a testing to see if worth pass for the others at the [ChatOps for non-DevOps | ||
people Working Group 2018/01](https://github.com/fititnt/chatops-wg). | ||
|
||
My initial impressions are: wow, this is very very powerful; **not only the very | ||
basic (non optimized for production) setup could be done by someone who do not | ||
have knowledge of DevOps, but it also helps to abstract as a relative single | ||
interface a lot of data sources.** I still need to test other BaaS, but this for | ||
sure is not bad. And it have a very good plus: it connects to a lot of databases, | ||
it does not force you to use just one or two drivers. | ||
|
||
|
||
## Logbook | ||
|
@@ -40,9 +50,33 @@ $ ls -ltr screenshots | awk '{print $9}' | |
5-dreamfactory-api-doc--mongodb.png | ||
6-dreamfactory-api-doc--mysql.png | ||
|
||
## Read tutorial on http://wiki.dreamfactory.com/DreamFactory/Tutorials/cURL_Examples | ||
xdg-open http://wiki.dreamfactory.com/DreamFactory/Tutorials/cURL_Examples | ||
|
||
``` | ||
# Note; the tutorials uses port 8080, but my setup is running on 80. | ||
|
||
# Admin: [email protected], password: joomleiro | ||
|
||
# fititnt at bravo in /alligo/code/fititnt/dreamfactory-playground on git:master x [4:49:58] | ||
$ curl -i -k -3 -X POST "http://localhost:80/api/v2/system/admin/session" \ | ||
-d '{ "email" : "[email protected]", "password" : "joomleiro" }' \ | ||
-H "Content-Type: application/json" | ||
HTTP/1.1 200 OK | ||
Date: Thu, 22 Mar 2018 07:50:52 GMT | ||
Server: Apache/2.4.29 (Unix) OpenSSL/1.0.1t PHP/7.0.28 | ||
X-Powered-By: PHP/7.0.28 | ||
Cache-Control: no-cache, private | ||
Content-Length: 917 | ||
Content-Type: application/json | ||
|
||
{"session_token":"eyJ0eXAiOiJ.....long string here...","session_id":"eyJ0eXAiOiJKV1QiL...long string here..","id":1,"name":"Emerson Rocha","first_name":"Emerson","last_name":"Rocha","email":"[email protected]","is_sys_admin":true,"last_login_date":"2018-03-22 07:50:52","host":"6a566a60b358"}% | ||
|
||
## Ok. It works. But now is much more about read documentation (with a lot of | ||
## good video tutorials) and this can be made by some coworker later. But | ||
## the interface of dreamfactory is very very friendly. More friendly than a lot | ||
## of vendors with lock in out there. | ||
|
||
``` | ||
|
||
### Enviroment | ||
|
||
|