Need help with setting up a basic Railway C# project
Hello, I am using a web2 multi solution with leaderboards, shop, analystics, etc. and a second API for matchmaking, multiplayer, scoring, etc. There's also a Google Pay webhook involved.
I want to use Railway to create a Game API for myself that acts as intermediary between all these third party things, so my client only talks to my Game API.
I am a seasoned frontend dev but nowhere near knowledgeable in backend and I have no idea how to start. I do know I want C# and I connected Railway to a Github repo but that's about it.
Please help me get started π thank you!
10 Replies
Project ID:
1010d887-0625-4568-8fe1-df8ab371b2d2
1010d887-0625-4568-8fe1-df8ab371b2d2
@Ayush does this work with lambda functions?
Can you elaborate?
I read that you can have methods that do not require a server restart
like this https://aws.amazon.com/lambda/
Amazon Web Services, Inc.
Serverless Computing - AWS Lambda - Amazon Web Services
AWS Lambda is a serverless compute service for running code without having to provision or manage servers. You pay only for the compute time you consume.
I just need my API to react to webhooks / post calls, I have no server and I don't need to have any data live
im not too sure if railway has any severless functions/lambda but i stand to be corrected
What is wrong with having a stateless API running all the time? You can leverage Railways service sleep mode to reduce cost if there is no traffic
I am not a backend dev π it's all new
is this an AI answer?
@Discipol i've created a .net API that you can use/deploy - https://github.com/ayush-lal/railway-.net-api-spike. However im seeing some memory leaks. I've started a thread in https://discord.com/channels/713503345364697088/1165742211674148914