Julienng
TTCTheo's Typesafe Cult
•Created by Radu on 11/16/2024 in #questions
Nextjs deployment on Docker
Hi ! You can take a look at:
- https://www.youtube.com/watch?v=sIVL4JMqRfc
- https://github.com/nextjs organization for example on non vercel cloud provider
- https://nextjs.org/docs/app/building-your-application/deploying#self-hosting has some explanation
- https://github.com/ezeparziale/nextjs-k8s is an example with kubernetes but the configuration is similar
5 replies
TTCTheo's Typesafe Cult
•Created by Nahasco on 6/16/2024 in #questions
Should I ditch Django for GO or full stack Next.js
Django as a rest api isnt a good solutionThe thing I'm trying to convey is that there is no "not a good solution". Many teams are building great product with Django This is not a framework I like using, but yeah, this doesn't mean it is not a good solution. If I had to choose: - next + prisma for my personal project: less context switching and I do not need a separate rest API (which means you need to take care of the breaking changes) - next + adonisjs for a personal project with a need to have a separate rest API (like a public API as part of the product offering) - next + another framework that the team is comfortable with (in my current position, we are using quarkus in Java) The question you have to ask yourself then is what is most important to you, the project or the learning experience? I know this looks like a not an answer, but this is because there is no good answer here
25 replies
TTCTheo's Typesafe Cult
•Created by Nahasco on 6/16/2024 in #questions
Should I ditch Django for GO or full stack Next.js
If you are a junior, keep playing with language and framework. This is great for your understanding of the developer ecosystem and understand what you find interesting.
You have a lot of variety of languages and all of them will a have one or more web framework to build rest api:
- Java with Spring
- PHP with Laravel
- Node.js with AdonisJs
- Golang with something like Gin
- etc
For your current project, this highly depends on the current state of the project (early on ?) or the importance of the project for your employer. If the project has already started, moving to another web framework will only slow development down and will not add any immediate value for the end user
25 replies
TTCTheo's Typesafe Cult
•Created by Nahasco on 6/16/2024 in #questions
Should I ditch Django for GO or full stack Next.js
The real question is about what you are comfortable with
Nextjs can handle workload just fine as a backend service, but it works too with a separate backend, probably event easier for some specific use cases like backend processes, cron, etc.
There is no "you should do it that way", it is a tradeoff about your belief, what you like working with and, most importantly, the people you are working with on that project.
If you know Django for backend stuff, keep it. If you are not satisfied with Django, look for something else and create a simple POC.
I've built apps with Next.js only and apps with a separated backend because it was needed for the team I work in. Either works 🙂
25 replies
TTCTheo's Typesafe Cult
•Created by Daniel K on 9/19/2023 in #questions
NEXT JS APP Hosting on AWS
OpenNext and sst can deploy your app like what vercel is doing : https://github.com/sst/open-next#features
13 replies
TTCTheo's Typesafe Cult
•Created by Daniel K on 9/19/2023 in #questions
NEXT JS APP Hosting on AWS
For Nextjs in standalone mode: https://github.com/vercel/next.js/tree/canary/examples/with-docker
13 replies
TTCTheo's Typesafe Cult
•Created by Daniel K on 9/19/2023 in #questions
NEXT JS APP Hosting on AWS
There are multiple way to deploy to something like AWS depending on what the architecture you want is :
- nextjs standalone mode in a docker container
- opennext : https://open-next.js.org/
- https://sst.dev/
13 replies