Simple app admin UI in Heroku or Firebase? - node.js

I would appreciate if someone could point me to the more simple direction between Firebase and Heroku.
I'm planning a simple React Native photo app for scientific purposes (take image, save phone geolocation, send both details to database, that's it!).
I need to create a really simple admin UI for the submitted photos+geolocations: view, delete, tag photo (correct/incorrect), download geolocations. Just one user is OK.
Would it be easier me to create the admin UI on Firebase or Heroku? Or if there are already ready-made admin UI's available?
The stack is: React Native, Node.js (+ Express?), MongoDB
And, I'm not creating the app myself, but hiring a freelancer. Maybe they have their own preferences, but I was just interested to know of there's a big difference accessing the data in Firebase or Heroku.
Both the app and the admin UI shoudl be really simple, just bare-bones. I expect the app + admin ui to be created within 100 hrs.

The core capability of Firebase is real time sync of data pushed to multiple clients. It doesn't sound like you need that in your app. You could still use Firebase for what you need, but frankly it sounds to me like overkill.
I think that for your simple requirements you might find Heroku easier and faster.

Related

How can I create a mobile applications which react that can also serve as a website

I just finished my JavaScript course and I understand pretty well how things work.
I have started my React journey with a project in mind
So I want to create a mobile application using React Native and I also want that same application to be a website with domain and url since I want the website to work with with Google adsense.
I'm a little bit confused about things cause I want to use mysql database, node for back end and React for the front end, but I don't know if this is possible to just create one application that work as both mobile app and a website.
Thank for your assistance and advice in advance.
A way to use practically the same code for a web frontend and mobile app is using tools like Capacitor. It make it quite simple, and also allow you to use some mobile native API's.
Here's how to integrate it with react js Using Capacitor with React

How do I integrate Stripe into my Streamlit app?

I currently have a Streamlit app deployed on Heroku that essentially takes an Excel file, performs data analysis, and output the analysis as a downloadable link that the user presses to get the Excel file. It works great, however, I made this app for a small company, and I would like to privatize the app by making it only usable after a one-time payment has been made so the company can't make money off my app (they're very entrepreneurial and I know they're trying to rip me off). I found an example of someone who did a similar process with their Streamlit app https://discuss.streamlit.io/t/stripe-api-integration/13159. Although, I'm not sure what code I would need to implement this Stripe service, how I would need to adjust my current code, and if it's possible to do without AWS Services (because I have no knowledge of AWS). Any help would be appreciated!

Is there a way to deploy Strapi project without admin panel?

As Strapi official docs point:
At the moment, deploying the Strapi Admin interface requires more than 1g of RAM.
Though in my project, I need only some basic actions with the server (like adding and viewing content), and I already do this via HTTP requests to api. So I would like to deploy only the "api" part itself and not admin panel logic. This way I can save resources & money. Is there a way to do it?
Please check Deploy the administration panel and the plugins on another server than the API
You can just delete the build folder. You do not need an admin panel.
Your REST or GraphQL API will work as the way it is.
You can do this only by making big changes to the main module of Strapi, after that you won’t be able to properly manage the permissions system and other main components, you will also lose the possibility of updates.
update
You can just make all configuration and remove web part from hosting

Set up Google Analytics to track a command line Node app

I'd like to use Google Analytics to track usage of a command line Node app. Tracking will be strictly opt-in. I'd like to track basic usage, plus which operating system and version of Node was used.
I've found the Measurement Protocol, but I'm wondering whats the best way to set up Google Analytics.
You can choose from Web or App - App seems the best fit, but then I'm sent to Firebase to set up an iOS, Android or Web app. None of these are correct. So is 'Web' the best way to track my app usage? Or is Google Analytics not the right approach?
Seems like the best approach is Google Measurement Protocol. There's a Node library for it.
Really Google Analytics is completely designed around web apps and more recently mobile apps, it has concepts like "page views" which don't make sense for CLIs, and Firebase Analytics is only for Android and iOS.
You might be able to shoehorn he CLI use case for some purposes. Alternatively, you could consider using a cloud database like Firebase real-time DB to capture your own events.
Google analytics really isnt designed for something like this. You have only two options web app where everything is page based. http://example.com/hello.php vs using a mobile app where everything is screen based. Home, about, help.
I have done this before with several console applications, a custom SSIS task (dll) and an arduino project. I chose mobile application mainly because i thought it was closer. I know of someone who did the same with an actions on google project.
In the end what you use will be up to you. Just consider what it is you want to track exactly and lay it out before you start.
If you choose mobile make sure you send Screen views and not page views. The Google analytics website is split you cant mix and match the hit type.
Workaround for createing moble account without firebase.
create a new web property on Google analytics type Web
create a new view under that web property type mobile.
We made Console Cat for this exact purpose! It's built from the ground up to track telemetry / analytics for CLIs including things like flags, command duration, version, etc.

Building web,mobile architecture with firebase, angular4

We were doing survey like web app in rails framework adding API functionality to support iOS and Android in future.
Recently I learned about firebase and I really liked it. It fits for iOS and Android very well. I am not sure does it fit for web.
My plan is to use Angular4+Ionic+Firebase frameworks to build hybrid app.
Then to build web app using Angular4+Firebase. As far as i know implementing whole business logic in frontend is not secure in N-tier architecture. Because survey results will be calculated in front end.
Simply I want to use firebase for web app:
There are two options for me. Not sure which one is more preferred.
1. Angular4+Firebase
2. Angular4 + Nodejs + Firebase
Can you suggest preferred way to build web app using firebase?
Firebase is a serveless technology, however you can use Firebase Cloud Functions to keep your business rule.
you can use Angular 4 as your Frontend, Node as your backend to create WebApis, and FireBase to store your data as it can work as Realtime Database

Resources