Building a Custom API on top of Parse.com? - api

I'm planning on building a developer API similar to what Uber and Yo have done. Is it possible to build such API if my app's backend is powered by parse.com? I don't want my custom API pointing to parse, but instead my own site.
I'm planning on using ruby, and was wondering if there would be any limitations over other options (not sure what options I have). Thanks

I'm not sure if it is possible using ruby, but I know it's definitely possible to build your own REST API.
We have decided to go a bit further and wrote a parse-angular seed project for developing web apps. It can be found here.
After you pulled it, do a npm install
As usual,
cloud code should go into cloud/main.js
express code: cloud/app.js
angular code: cloud/public/js/
Note that: You will need to change your AppId and AppKey in
config/global.json
cloud/public/js/app.js
As for custom apis, you can define your own in cloud/routes/api.js.
At this point you should have a nice parse-angular project set up and good to go.
If there's anything wrong, please feel free to open a pull request. :)

Related

Tendermint web application - customize

I am new to blockchain development and to tendermint as well.
I already have a blockchain running locally.
Using this command starport scaffold vue I could mount a local web application. Inspecting a bit I could replicate some network requests (localhost) and I can get the ballance of current wallet (hard-coded on the request), get the current wallet from the localstorage. I'm struggling on authentication (mnemonic, wallet name and password).
However I also would like to costumize it according to my needs and I thought I could start a web application from scratch. I can see that the generated web project is importing this project https://github.com/tendermint/vue which is making a lot of "magic behind the scenes" and importing UI elements as well and I would like to have my own elements.
I don't want to re-invent the wheel and I can make some imports to help me on connection to wallet, validate authentication (mnemonic, wallet name and password), create wallet and so on.
I am trying to build a web application to connect to wallet, make transations.... but I would like to control the styles and the connections (and if possible using reactjs instead of vuejs, otherwise I dont mind learn vuejs as well).
Is this possible or reasonable? Where I can find good documentation or tutorial to guide me on customize a web application using tendermint. Honestly I searched but I am kind of lost.
Thanks
UPDATE: I found good examples and here and here. It helped me to validate mnemonics and make transactions, with my stack tech.
Because Starport generates both plain Javascript and VUE controllers, you have few options:
Create your own site re-using VUE components
Take plain JS part and build a website using whatever technology you like
Use a plain JS client for standard cosmos modules you can find on GitHub
Use Protobuf generator to generate light client code yourself
If you only need wallet functionality, #2 and #3 may work best for you because the bank module is stable and hasn't changed much in a long time.
You can find plain JS file for bank in your project:
vue/src/store/generated/cosmos/cosmos-sdk/cosmos.bank.v1beta1/module/index.ts
There is a link to starport discord channel related to frontend: https://discord.gg/CvbdYh9AWQ

How To Remotely Change the Content In umbraco using Apis

Hello EveryOne I'm New To Umbraco I did Some Simple Umbraco Sites and Im good with so far Based on my Humble .Net background My Question is : How can i Remotely Change the Content of My umbraco form Other Pc or Something like that using Web service or APIs or what ever Im Looking foreword For a Good answer
Thanks In Advance
Depending on your needs, you can create a webapi on top of your Umbraco instance. You'll have to implement the actions yourself.
See this reference on how to implement it
Another option is installing Umbraco Rest API. This will add functionality for managing content and media through a rest service. Haven't tried this plugin myself, so no clue if works in the current version.
Some additional information can be found here

Groovy rest api for Dropbox without third party plugins/libraries

I am trying to create a groovy script that will, based on some conditions, delete a dropbox folder full of artifacts.
I have been struggling to understand/figure out how to use Groovy restful API's without installing a bunch of Grails libraries or plugins, or the Dropbox API library from github.
Is it possible to use this dropbox URL: https://api.dropboxapi.com/1/fileops/delete_folder
without downloading extra libraries?
I'm having a lot of trouble finding information on the subject without the use of additional software.
Thanks !
Yes, you can easily create your own dropbox client from scratch but it is easier to check hints for JAVA developers and github repo with dropbox-sdk-core, which is already implementing dropbox API.
Remember to check out examples on github.

laravel 4 social with simple auth wrapper

I start using laravel (ver 4) and I got to the point I need to use authentication on my website.
I tried to find package that will allow me to wrap the all idea of "standard" / simple authentication and the social one (like facebook, google+ and etc..).
I found ion_auth and with some extensions it's allow me to use one authentication library for all kind of users - but it only works in codeigniter framework.
After a lot of research I couldn't find any ready package that allows me what I'm looking for, Does anyone familiar with such library or had this kind of issue and can tell me how he handle it?
This is a paid library, but it works pretty well. https://cartalyst.com/manual/sentry-social
i had a good experience using artdarek/oauth-4-laravel. it also has got a nice set of examples for using with different login providers.

Import google plus friend list using php

Could any one give me suggestion on how to get friend list on google plus using PHP.
Is there any plugin or widget to do this.It would be great to know.
Thanks in advance.
Your user needs to grant your app access to this information via the OAuth 2.0 scope https://www.googleapis.com/auth/plus.login and then you can use the REST API or client libraries to get the list of friends.
See the Google+ PHP quickstart for a sample application that accomplishes all of the steps necessary for what you want to do. The sample uses the Symfony framework to keep the code concise, but you should be able to take away how to do the same in your own PHP environment.
Also, see the Google APIs PHP client library that you can use in your project. This library is embedded in the quickstart via composer.