kstulgys
Explore posts from serversCDCloudflare Developers
•Created by kstulgys on 8/27/2024 in #general-help
Your Worker exceeded the size limit of 1 MiB
2 replies
DTDrizzle Team
•Created by kstulgys on 11/4/2023 in #help
No id returned (mysql2)
returns
I need Id. Tried to add
.execute()
a the end but same thing.4 replies
DTDrizzle Team
•Created by kstulgys on 10/24/2023 in #help
'token' used in key specification without a key length
Apparently I need to use
token: varchar("token", { length: 255 })
because token: text("token")
giving issues when pushing. Why?
I'm using drizzle with planetscale.1 replies
DTDrizzle Team
•Created by kstulgys on 10/24/2023 in #help
ER_TABLE_EXISTS_ERROR
Can someone explain me what is the proper workflow?
1. change schema.ts (add another column to table)
2. generate migration
3. migrate
ER_TABLE_EXISTS_ERROR
Why?
I'm using drizzle with planetscale
7 replies
Is railway.app enough for my app? I know nothing about databases and scaling.
Let's say i'm building a banking app with nextjs and I have an endpoint
/api/send-transaction
This is POST endpoint and takes sender and recipient details with amount.
The future for this endpoint is that it will be used by thousands of people per day.
I know about severless and edge functions, but do I need them? Should I deploy to railway or aws with https://open-next.js.org/ ? What's the difference? What is cheaper and scales better for my use case?
FYI: I know I'm naive to expect a straight forward answer to this.4 replies
Multiple services found. Please specify a service to deploy to
These are my last lines of github action:
I recently introduced a new service (grafana) along side my nextjs app and when I deploy I get this error:
Multiple services found. Please specify a service to deploy to
How should I change railway up
command so it deploys only my nextjs app?6 replies
I want to deploy a nextjs website for a client
I wan to to deploy a nextjs website for a client. I'm thinking what is the best way to do this. This website should live under his account with his card details. Since this is only one website I do not want him to create a team and invite me and pay $20/mth just to have a team. Is there a better way to do this?
6 replies
Can I deploy pocketbase to railway?
I came across this https://pocketbase.io/ oss backend and would like to spin it on railway?
Can I deploy pocketbase to railway? What should I know?
18 replies
aws lambda and server api endpoint deployed on railway pricing
The endpoint is a scraper with puppeteer. Just scrapes some data and returns result. Expected to be called 10000 times a month. Every call on average would run for 5s
a) endopint is hosted as lambda on aws
b) endpoint is hosted on railway.app as express server
Can anyone help me to build and intuition how these two cases would compare in pricing?
4 replies
Can I host any (non tech) user site on railway?
The idea is that a user would click and deploy a site. It's like shopify platform but simplified
I need a user to be able to:
- add env variables
- change domain name etc...
Does railway provide api integration for this?
Does my question make sense?
9 replies