C
C#2y ago
simpens

❔ Making my own API

Hi, iv recently started with API's and I'm wondering where I should start my research, experimentation when I want to setup an own API to my own domain / website. I'm currently using Swagger to make my API, and the API link then becomes "https://localhost:7176/WeatherForecast?x=12" But i want it to instead be "https://mydomain.domain/WeatherForecast?x=12". Where do I start?
9 Replies
Angius
Angius2y ago
You start by renting a server $vps
Angius
Angius2y ago
Then you need to buy a domain (I recommend Cloudflare Registrar or Namesilo) Then you set up the DNS of that domain to point to your server
simpens
simpens2y ago
I have access to one through my school! So that wont be a problem 👍
Angius
Angius2y ago
You create a release build of your app and upload it to the VPS Then you run it As an optional step, you can put it behind a reverse proxy like NGinx or YARP
simpens
simpens2y ago
Alright, thanks alot! Now I know where to start 😄
Angius
Angius2y ago
GitHub Education
GitHub Student Developer Pack
The best developer tools, free for students. Get your GitHub Student Developer Pack now.
Angius
Angius2y ago
This might be useful if you're a student Couple domains free for a year, couple VPSes also free And a yearly subscription to JetBrains All IDE pack
Accord
Accord2y ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.
Want results from more Discord servers?
Add your server
More Posts