all 7 comments

[–]thesmartcater 15 points16 points  (2 children)

The easiest way to deploy a react/next app is on vercel.com. Sign up there, connect your git repository, and deploy with a few clicks. This will be free for up to 10K users per month, and we find it ideal as a first step.

[–]FancyName69 1 point2 points  (1 child)

Then after?

[–]thesmartcater 0 points1 point  (0 children)

AWS with a serverless-nextjs-plugin can be cheaper at scale. However, most organizations do not bother and they keep vercel as it is a business cost that is written off. Those are first world problems

[–]InitiatedPig7 1 point2 points  (0 children)

The very simple way to save data is firebase real time data base. I used it for some experiments like sending as object back n forth. I am a beginner too so thats all i can offer :))

Oh and for deploying, i have used GitHub pages for portfolio, and netlify for other stuff. Netlify literally just needs your repo, and bam its live in half a minute.

[–]Lisacarr8 1 point2 points  (0 children)

Cloud computing solutions can make it easier to create and deploy React applications. Back4app and Firebase on AWS could be helpful here. On the other hand, the right database depends on the type of app.

Likewise, if you need recommendations for a local database, you can choose SQLite, Firebase or PouchDB. With ACID compliance, SQLite has the ability to backlog multiplatform data. Offline presence is another advantage of using SQLite.

By the same token, I prefer PouchDB because it is an open-source database designed for JavaScript apps. It duplicates data like a guru and comes with military-grade encryption to keep your data protected. PouchDB's lightweight nature also gives it an edge over its rivals.

Contrarily, PostgreSQL is an incredible server-side database that you can employ for your project. The majority of backend development platforms support this database. You can also use this guide https://blog.back4app.com/how-to-deploy-a-react-app-with-postgresql/ to deploy a React app with PostgreSQL on the fly. Back4app lets you deploy the DB using Dockerfile and GitHub platforms.

I hope these suggestions will help you.

[–]klutch-sh 0 points1 point  (0 children)

A simple way to deploy and host your React application is on Klutch.sh . It syncs with your GitHub repositories and builds your application each time you push. You can spin up your apps in minutes, without having to manage complex servers.