Cost-Effective E-Commerce Site for Small Business - google-cloud-firestore

My idea:
CMS: Sanity
Authentication: Firebase Auth
Database: Firebase Storage
Hosting: Vercel (Free Plan)
Considerations:
Utilize all free plans
Minimize costs as much as possible
Notes:
The project is built using Next.js
Is there a more efficient way? Please don't say shopify (:

Related

Deployment and Hosting of React, Express with MySQL Backend and Frontend Website

I want to have an website with frontend React and backend Express plus MySql available on a top-level domain address. I would really appreciate your support as I feel a bit lost with all opportunities and no guidance in how to do this. I know how to create a react app and I worked with express, mysql, git / github before. I also had a php website hostet before.
I wrote some code, but before I get too far, I am wondering about ...
How to set up this project on my local machine a professional way, so I can deploy it later?
Which cloud provider / hoster can you recommend?
Do I have to handle all three components separatly or can I wrap it up somehow?
Which tools do I need?
I tried to find cloud providers and tutorials but I got lost.

How to deploy nuxt.js with mongodb on cpanel

I'm wondering any possible to deploy nuxt.js with MongoDB on cpanel hosting, i have a shared hosting bought from Hostgator. Really need help from this, thx.
my nuxt.config.js
For Nuxt, it depends on your build target and app mode. Are you using SPA or universal?
If you are using SPA, this can be packaged using nuxt build. This output can then be hosted the cpanel as a normal static site using something like Apache.
If you are using universal mode, you will have to ensure you are generating a static site using target:'static'. Once you've configured that in your nuxt.config.js, you'll be able to run nuxt generate and upload the built files to your cpanel.
Please take a look at the Nuxt page for static generation.
That said, I'd wholly recommend you don't use cpane or hostgator. Such hosting doesn't scale and relies on technology like Apache that is resource heavy and slow.
I'd suggest you deploy your Nuxt site to Vercel by following this tutorial here
Vercel is free for non-commercial use and scales infinitely based on your usage. It's incredibly fast and optimised for these types of sites. Deployment is a breeze.
You won't be able to deploy the MongoDB instance on the cpanel unless you have VPS access, or the cpanel has a pre-configured option.
I recommend you use MongoDB Atlas to easily provision, configure and manage your MongoDB instance.
When combined with Vercel, this should give you an incredibly easy and also performant deployment of your application.

Is there a way to host an app that uses MongoDB Atlas on Heroku without paying for an addon?

I am in the process of teaching myself deployment to Heroku, and trying to host a simple MERN stack application to Heroku. So far, every tutorial I've worked on (at least four so far) has told me to use the addon mLab, which is 1) being depricated and 2) currently requires payment.
I've also now tried to use object Rocket which also requires a monthly payment. Is it possible to connect my Heroku app to MongoDB without payment? Perhaps without an add-on? I'm looking to turn around and teach others how to deploy their applications to Heroku, but if there is payment involved, that would be a real issue.
Edit: just to clarify, I am aware that MongoDB atlas is free, but what I'm not aware of, is way to connect Atlas to my Heroku app in a way that is free.
Use the Atlas free tier. No addons are needed.
To connect to your MongoDB Atlas db is best achieved using Mongoose - a node module - at least that is what I am doing with my recently created React/Atlas application. Mongoose is available for Angular as well and makes working with Atlas very easy. A google search will provide many tutorials, I'm sure.

Facebook apps and herouku cloud

Is smart to use a free cloud for facebook app - heroku (5mb limit) or use own VPS?
I plan to build an FB app and trying to chose hosting?
What you suggest?
Is Heroku cloud platform a complicated for developmet?
I don't criticize Heroku cloud or any other free services, but I am strong believer of using Paid services only. Free service is never a free, there is always a string attached ...
I would suggest you to use Paid VPS or Cloud solutions.

how to upload a web application to free server

I am using net-beans 7 and I wrote a server said app on java with db.
Now I want to upload it to free global server.
I tried amazon but need a credit card.
Tried to work with Google app engine but have problems with net-beans and Google configurations.
Can you give me a link for simple way to load my app to free server and how it will work with the db that I wrote that works with derby.
thanks a lot!!
You could use Amazon Web Services Free Usage Tier.
Another option is jelastic.com (I didn't test it yet). They offer free use for small applications:
Starts free: That's right! If you want to deploy a demo for your
customers, deploy a small application for you and your friends, or
experiment and deploy an app for internal QA, it won't cost you a
penny!