I want to learn do isomorphic javascript apps.
I started with with meteorjs and I found all in one example with usage of mongo collections, react.js views and authentication.
react-todos
From this starter I can finish many apps I want to.
Now I want to learn alternative to meteor app using node.js and express on backend.
Everytime I find something on github I can not even run it. I always get some package error I even do not understand and with Google I spent already dozens of hours on it.
Next works in meteor with example above are easy for me.
But run together
express, mongodb, react, react-routers and some login/signup auth and do universal app is rocket science for me. How to start please?
Related
currently, I am using firebase for the backend but is there any path I have to learn to do backend without using firebase since it's limited free
Yes you can create backend with nodejs and connect nodejs with your flutter app. There are plenty of resources for learning how to connect nodejs backend with flutter app
Yes. You can use Python, node js, PHP-laravel.. It depends on the projects. According to the project, you can choose the backend.
"backend in flutter" ? , Flutter is framework in which we use dart programming language so the question is wrong. But perhaps you want to ask something else, which I was also exploring during my initial years.
For realtime database you can use mongo with polling (with or without even any server since you can even poll and crud in database with flutter itself).
For firebase cloud functions you either make your own APIs (with any backend say nodejs , Django , php..) and call them with Cron jobs or use mongo trigger.
For app performance monitoring , you first need to take data from your app itself and then store it in database and then need to make a web panel for showing that data in interactive manner.
Firebase hosting can't be your case so skipping it.
I hope that clears your doubt.
try supabase or rethinkdb + rust
I'm confused about Firebase and serverless in general, as I was just introduced to this concept recently (note that I'm still studying computer science and I'm just exploring on my own now).
In the past I've been part of a project that had the following structure:
Front End in a Single-page-app
Back End built as a REST API
Now let's say I want to build a product, that might have a website and mobile apps. It also has to have backend logic as there are accounts, objects owned by users, and possible integration with a payment service.
What I initially expected from this, before knowning about serverless, is that you build a backend using something like Go (was my case), where you handle all the database data and third-party integrations, build a front end with something like Vue, and then use the backend's REST API to communicate between both of them.
Is this still the case with serverless? Do you build the whole backend server code, or does it work in another way?
I don't need/want you to explain all of it to me. I just need some insight on what is done and common so I can investigate further.
I learned how to code in swift a little while back and created my first app. Now I'm trying to market it to customers, I realized that a web-interface might be what I need to scale this up to start attracting clients.
I use firebase as my backend now and would like to see what I can do to have a web interface that:
Allows customers to log in to see their unique data.
Updates info on my firebase backend
is Scaleable.
I'm not sure where to start nor how long this process will take. Any one has any ideas on where to get started?
I'm pretty sure Wordpress has a firebase plugin that could come in handy. Using Wordpress would save a lot of time actually designing a website, getting servers, and backend stuff like that. If you pay a little bit you can get rid of the .wordpress. com tag too, and your website can easily look professional.
Firebase is a realtime database and it is mostly used with mobile apps and some of the JavaScript applications like Angular and ReactJS. I think the best is to use ReactJS and there you can do a lot of the same functionalities you did on your app.
You can find a lot of tutorials online about how to do reactjs and firebase apps.
Have a look at this post and it should give you an idea about how it is done. It is gonna be a new thing if you are not familiar with javascript NodeJS / ReactJS development. (Firebase, react and redux wait for store to update)
I'm rewriting an app that is done in Ionic 1 to Ionic 2. Old code base done 100% HTTP gets/ posts which gives a very bad UX with data saving and retrieving. The goal integrate new Ionic 2 app with offline sync data/ blob (pictures) with Azure mobile service with sql server db back end (which is already done).
So far I have tried
Azure Cordova Plugin
I followed Adrian Hall's documentation (https://learn.microsoft.com/en-us/azure/app-service-mobile/app-service-mobile-cordova-get-started-offline-data) and manage to get around somewhat working example in Ionic 1 but not 2.
JavaScript Client Library
I even followed Richard Shergold's blog post (https://ionicallyspeaking.com/2016/10/11/ionic-2-and-azure/) and manage to get a working example of retrieving data from Ionic 2 but didn't manage to get around for offline syncing bits.
Biggest gap is the there is no available typings for the current library. As per to the team its in the pipeline. (https://github.com/Azure/azure-mobile-apps-js-client/issues/79)
Has anyone gone beyond that? It's very limited hep out their in the community :9 Could someone help me out by directing me to a working example of how to enable offline sync with Ionic 2 app.
All my code snippets are same as what is in the links above. I am not asking without trying. I really need some help. Please!
https://github.com/Azure-Samples/app-service-mobile-cordova-client-conflict-handling is a Cordova sample that demonstrates how to use offline sync and how to handle conflicts, if any. This should be a good reference for your Ionic application.
I'm new to MeteorJS and I have a few nagging questions.
If these are overly simplistic forgive me. :)
Background: I would like to use this framework to write a mobile app (no web side as of yet) and hit my existing RESTful endpoints for data querying and CRUD.
Since I do not need a database (bc I already have one connected to my other backend) how can I go about removing or turning off MongoDb? I found this SO answer and I remove the meteor-platform but it somehow gets added back in. (Just doing the standard meteor create --example todos)
If I am unable to turn the Mongo functionality off, would there be any downside to keeping it there and just never using it?
Lastly, what happens when I deploy my MeteorJS app to iOS/Android with respect to the MongoDb I was using locally? I assume there is a hole somewhere that I supply a URI to so that that app knows how to get to it? I can't find this place if such a thing exists.
If you do not use any of meteor's server functionality (login, publish, methods) then there is no way for your client application to find out that the server has not been started.
You can safely use HTTP on the client to use your RESTful API.
The mini mongo on the client is pure javascript and does not require a server connection. But there is no easy way to keep data in the mini mongo database without setting up a publish-subscribe link via DDP.
The packages like GroundDB assume there is a server side.
In developing you app, you will have to run the meteor server app in order to be able to serve the refreshed application every time a code change happens.