As a long time software developer who hasn't done full stack in awhile (since 2013), what's everyone's go to web hosting stack today? Wanted to quickly put together a simple website with react/node.
For the tiny web apps I write, I simply use Flask. If it becomes a wee more complex, I might use vue and bootstrap for the front-end. But it's rarely needed.
FastAPI as the Python backend.
Couchbase as the database.
Vue.js with TypeScript, Vuex, etc. as the frontend.
Celery for asynchronous jobs.
All managed with Docker (including frontend compilation from source).
All integrated with Traefik, so, automatic HTTPS. Up to a month ago, I used my previous project generators based on Flask and several plugins, but now I'm doing all the backends with FastAPI as it's about 3 times faster to develop, and about 5 times or so faster (better performance).
- Python, PHP, GO, depending on what I need to do. No frameworks.
- Vanilla JavaScript and CSS. No frameworks. - Relational db and Redis - NGINX and Ubuntu. NGINX for caching. - AWS or DigitalOcean depending on what I need to do. I strongly prefer working with DO whenever I can now vs eg AWS or Azure. I've had a good experience with Linode and Vultr in the past, however DO's ever-improving offerings keeps putting distance between them. I've built up my own frameworks for authentication, APIs, etc. over many years that I evolve regularly. Over the last ~15 years I've strictly only been building my own things, so I don't have to consider other organizations or teams and what they want or their pre-existing approaches. My approach only makes sense because of that.
React hosted in an S3 bucket, API Gateway with one Lambda function per model, single DynamoDB table with overloaded indexes. This will cost you pennies to spin up and get traction with.
AFAIK most crawlers (including facebook etc) don't load javascript, so I'm always wondering how to allow dynamic pages (say a product's page) to be crawled and have a og meta tags. If this had a great solution, boy things today would be much easier!
If you are relying on SEO to gain initial traction, your project is going to fail. Start worrying about SEO when you have a core base of users who are actually using your product and by then you'll be more interested in refining features for your userbase that you won't fall into the feng shui trap that is SEO.
edited to add: The reason I discount SEO like this is because SEO is essentially chasing a search result against competitors who likely have more budget, more resources, and more time to play that game. Spend your time on making your product better, aggressively market directly to people instead of relying on the passive results of SEO, and by the time your project takes off, you will hopefully be in a spot where you won't care very much about why using react-helmet doesn't help with Facebook shares.
Nobody mentioned initial traction or if it is too early to worry about SEO.
As I asked in my question, I also mentioned the need for og meta tags for social sharing, which is something that is often important for clients I talk to. The appeal of a static SPA hosted on s3 is great, but I have trouble getting good responses about such fundamentals from people who advocate this architecture.
Google will load JavaScript but you can also use react-static to do static SSR if you’d like your first render to be fast or you’d like better SEO from crawlers that don’t read JS.
Comments (441) 141 threads
Earlier commentsFastAPI as the Python backend. Couchbase as the database. Vue.js with TypeScript, Vuex, etc. as the frontend. Celery for asynchronous jobs. All managed with Docker (including frontend compilation from source). All integrated with Traefik, so, automatic HTTPS.
Up to a month ago, I used my previous project generators based on Flask and several plugins, but now I'm doing all the backends with FastAPI as it's about 3 times faster to develop, and about 5 times or so faster (better performance).
- Vanilla JavaScript and CSS. No frameworks.
- Relational db and Redis
- NGINX and Ubuntu. NGINX for caching.
- AWS or DigitalOcean depending on what I need to do. I strongly prefer working with DO whenever I can now vs eg AWS or Azure. I've had a good experience with Linode and Vultr in the past, however DO's ever-improving offerings keeps putting distance between them.
I've built up my own frameworks for authentication, APIs, etc. over many years that I evolve regularly. Over the last ~15 years I've strictly only been building my own things, so I don't have to consider other organizations or teams and what they want or their pre-existing approaches. My approach only makes sense because of that.
AFAIK most crawlers (including facebook etc) don't load javascript, so I'm always wondering how to allow dynamic pages (say a product's page) to be crawled and have a og meta tags.
If this had a great solution, boy things today would be much easier!
edited to add: The reason I discount SEO like this is because SEO is essentially chasing a search result against competitors who likely have more budget, more resources, and more time to play that game. Spend your time on making your product better, aggressively market directly to people instead of relying on the passive results of SEO, and by the time your project takes off, you will hopefully be in a spot where you won't care very much about why using react-helmet doesn't help with Facebook shares.
As I asked in my question, I also mentioned the need for og meta tags for social sharing, which is something that is often important for clients I talk to.
The appeal of a static SPA hosted on s3 is great, but I have trouble getting good responses about such fundamentals from people who advocate this architecture.
Ping me if you’d like to know more.
Continue this thread — 1 reply
All comments shown.
Couldn't load more comments. Check your connection and try again.