R
Railwayβ€’8mo ago
Discipol

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
Percy
Percyβ€’8mo ago
Project ID: 1010d887-0625-4568-8fe1-df8ab371b2d2
Discipol
Discipolβ€’8mo ago
1010d887-0625-4568-8fe1-df8ab371b2d2 @Ayush does this work with lambda functions?
Ayush
Ayushβ€’8mo ago
Can you elaborate?
Discipol
Discipolβ€’8mo ago
I read that you can have methods that do not require a server restart
Discipol
Discipolβ€’8mo ago
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.
Discipol
Discipolβ€’8mo ago
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
Ayush
Ayushβ€’8mo ago
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
Discipol
Discipolβ€’8mo ago
I am not a backend dev πŸ˜„ it's all new
Brody
Brodyβ€’8mo ago
is this an AI answer?
Ayush
Ayushβ€’8mo ago
@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