I have a laravel project which uses sqlite. I want to publish this application to firebase but i dont want to use the database of firebase. Because my tables have been populated already and relationship between them. I know how to publish a static content website on there, but i couldn't find any source about this.
I mean, of course there are a lot of tutorial, article about how to deploy laravel on firebase via using Kreait. But as i mention, i dont want to use firebase realtiem database.
Actually i dont have any idea its possible or not with sqlite. Is it possible to publish a laravel application on firebase hosting with sqlite? Or is it a must?
Im just new to firebase. So i may be missing something on to understand the concept of it.
Firebase hosting is a host for static websites
Firebase hosting does not support any server side scripts such as Ruby, PHP, Python or anything else that is processing your files before output. That would require a application engine such as Google App Engine, Heroku, or similar. The hosting service is a static website hosting service.
Related
I'm trying to deploy a webapp to Heroku. The current stack is build out of:
NextJS for the frontend (deployed on Vercel)
Strapi CMS (deployed on Heroku)
I would love to add a webshop to the webapp and would love to use the example from Vercel/commerce (https://github.com/vercel/commerce). I have selected Vendure as my favorite headless commerce provider.
I have a problem figuring out how to deploy Vendure on Heroku-platform. Is it possible to combine both Strapi and Vendure on only one Heroku app? Can both programs work together? I would think it's possible because both can work with PostgresDB.
I've read this documentation (https://www.vendure.io/docs/developer-guide/deployment/) but this doesn't speak about Heroku and the combination with Strapi.
I know my way with NextJS / Javascript / HTML, but my knowledge of the backend and deployment is not as good.
Thanks in advance for helping me out.
Greetings,
Bruno
You could take a look for inspiration/pointers at the vendure/vendure-demo repo, it is deployed using dokku, which is a nice FOSS heroku-like deployment app for your VPS or Server.
If you want, you could use it's Dockerfile for running it in heroku likewise or whatever dokcker compatible provider you might choose, just remove the -demo- parts you don't need about it.
I also have successfully deployed vendure and commerce with CapRover. Can recommend it a lot!
Which is like dokku but with a nicer webapp GUI/Installation. If you go the dokku route you have ledokku for a GUI too. Not so polished though.
I'm a hobby developer that use Parse.com as my database and website host, as Facebook is going to shutdown Parse.com, I'm now looking for alternative Parse server.
I use Parse's Cloud Code Hosting to build Dynamic Web App, and Parse itself to store data collected from the website I've build, with custom Cloud Code to help getting and managing data. I've build a Windows Phone app for myself to manage the data I've collected too.
Is there any alternative server that has my requirement?
Dynamic Website
Database host
Custom Cloud Code (with BeforeSave and AfterSave trigger)
with Windows Phone SDK (or REST API if doesn't have)
Very thank you for helping me!
Try out Hasura.
Hasura (http://www.hasura.io): Hasura is a neat PaaS + BaaS solution. It is now competing with Firebase, Kinvey, Heroku et al. There is a full comparison page here: Compare | Hasura (https://compare.beta.hasura.io) . The difference majorly lies in infra ownership as well as no tech lock-in due to open-source components(like docker, kubernetes,postgres) building the major chunk of the platform. Check it out. There is also an option to explore (https://explore.beta.hasura.io/) Hasura by building your own blog web app and a todo app in under 15 mins.
Hasura should fit in perfectly for your needs.
DISCLAIMER : Hasura Engineer here.
I'm using Simbla website application development. It doesn't support all of your requirments but it has great UI builder with a backend parse database.
You can try using the parse open source server it has cloud code and you can use a custom database with it.
I've read many articles and tutorials that demonstrate how to use the Azure mobile service however I'm left unclear with many things.
I have an existing web app that uses Azure SQL database and is published with Azure. I'm trying to integrate the already created database into the Xamarin Android App I'm developing.
I'm confused with the following things.
Do I need to change the .Net back end to be able to use the database tables in the Xamarin app? The way I see it, I shouldn't need to since the Xamarin app communicates with the SQL database, not the .Net app.
How does the data get stored into the SQL table? Do I just reference the Mobile service inside my Xamarin app and it will create a bridge between the SQL database and my application or do I need to first create the tables or import the existing tables from the database?
The web app is currently deployed to Azure Web service. Does it need to be deployed to Mobile App service?
I would really appreciate if someone can help me out with these questions.
Your mobile app is not communicating directly with your SQL database. It is likely going through an Azure App Service - this is a web-enabled piece of middleware that projects tables within the SQL database to an OData feed. So you have three pieces - the SQL database, the Azure App Service and your client.
1) Yes, you need to update the ASP.NET backend to support your database tables. If this is an existing database, then you also need to update your database to support the mobile projection. I wrote a blog on this: https://shellmonger.com/2016/05/11/30-days-of-zumo-v2-azure-mobile-apps-day-19-asp-net-table-controllers/ but you may want to start earlier in the series that that.
2) You add the Azure Mobile client to your Xamarin app - this coordinates the transfer of data between your client and the backend. You can find a tutorial on this that I recommend walking through here: https://azure.microsoft.com/en-us/documentation/articles/app-service-mobile-xamarin-android-get-started/ - you can also read the HOWTO here: https://azure.microsoft.com/en-us/documentation/articles/app-service-mobile-dotnet-how-to-use-client-library/ - the tutorial and HOWTO cover both offline and online data access scenarios.
3) If you are using the new portal (portal.azure.com), then there is really no difference between a Mobile App and a Web App. The Mobile App is simply a web app with a specific SDK deployed within your ASP.NET (or Node.js) backend code and with a connected database. The minor difference is that if you create a Mobile App then clicking on Quickstarts (within Settings) will get you a mobile quick start; if you do the same with a Web App, then clicking on Quickstarts will get you a web quick start.
I'm using Parse.com SDK services for my Android app.
I've seen that Parse had released their Android SDK as an open source project on Github on this address.
My app is almost finished, and when I'm uploading it to the Play Store, I don't want to be controlled by Parse.com (I mean that I don't want to be blocked someday, or I don't know that), so I want to move my whole database to my own server that hosted on a secure company.
I've checked the open source project on Github and realized that all I need to use it on my own server is to generate an Application ID and a client key.
So I want to ask if someone knows how to generate an Application ID and a client key of Parse to use it on my own server, or that you maybe knows another way of moving it to my server? And one more question: Today I'm using also Facebook SDK with my app. If I will move my database to my own server, will I still be able to use Facebook SDK on my app?
Thanks!
I have write an article about how to migrate parse to a custom server.
https://medium.com/#jcminarro/run-parse-server-on-your-own-server-using-digitalocean-b2a7d66e1205
There's a massive difference between Parse open-sourcing their SDKs compared to revealing their entire backend architecture and its configuration.
The open-sourced SDKs are essentially wrappers for Parse's REST API along with some convenience functions and logic for natively interpreting the JSON data Parse is transmitting.
At a high level, Parse uses MongoDB for its core database and is entirely hosted using AWS (Amazon Web Services). The entire architecture is highly complex and is not something you could just drag and drop onto your own software stack or hardware backend.
To help give you a better idea of how Parse achieves all of their services, here's an interesting presentation their Dev Ops team gave at an AWS convention. Suffice it to say, hosting the backend services for over 180,000 apps requires a complex infrastructure and that is the "secret sauce" so to speak for Parse and is why Facebook purchased them for over $85 million two years ago.
i think my title is a little confusing but, what i'm thinking to do is:
I have my RoR website hosted on a ubuntu server with the postgres sql. I'm thinkin in a way to port the function of my website to a mobile app for example.
EX: i have a online chat website, so i want to create a native iOS app that can use the same functions and same database from my website in rails.
What i need to study first to learn how to connect my web-app to other apps in rails?
What i need to search for?
You need to create a REST API to connect your mobile app with the web one.
Here you have a link that can be helpful, but if you search in google there is a lot of information related to this.
https://www.airpair.com/ruby-on-rails/posts/building-a-restful-api-in-a-rails-application