DEV Community

Cover image for Build Server With Go Under 10 minutes

Build Server With Go Under 10 minutes

Aniket Pal on January 23, 2023

The introduction of microservice architecture revolutionised the way softwares are developed today. Post microservice architecture replaced monolit...
Collapse
 
cmelgarejo profile image
Christian Melgarejo • • Edited

Gorilla/mux is archived right now, I would recommend everyone to use another router, like go-chi.io which can be used with (almost) the same code as the article!

Happy coding!

Collapse
 
aniket762 profile image
Aniket Pal •

Thanks a lot @cmelgarejo πŸ’–

I didn't knew about go-chi.io. Will explore and add in my next blog

Collapse
 
sumana2001 profile image
Sumana Basu •

Haven't seen such a detailed blog anywhere! Great read😍

Collapse
 
aniket762 profile image
Aniket Pal •

Thanks @sumana2001 πŸ’–

Collapse
 
divyamojas profile image
Divyam Ojas •

Very helpful!

Collapse
 
aniket762 profile image
Aniket Pal •

Thanks @divyamojas πŸ’–

Collapse
 
mikey247 profile image
Michael Umeokoli •

Great read man

Collapse
 
aniket762 profile image
Aniket Pal •

Thanks a lot @mikey247 πŸ’–

Collapse
 
aabhassao profile image
Aabhas Sao •

That's awesome, wish it was published when I started learning Go ^-^

Collapse
 
aniket762 profile image
Aniket Pal •

Thanks @aabhassao πŸ’–

Collapse
 
rainbow_scientist profile image
Gloria Cantarero •

Really how? And what kind is it? Is there an amount of people? Do the events vary from stream? To RPG ? Casino? Competitions? I don’t see putting bots to do everything as s resolution yeah it’s an easy way out but that doesn’t solve Anything

Collapse
 
lexlohr profile image
Alex Lohr •

Simple API server without authentication, from the looks of it. Yes, you'll need longer to build anything more complex, and servers for MMORPGs are surely one of the most complex challenges.

Still, it's a good thing to show that a simple task doesn't require a complex solution, to reassure beginners.

Collapse
 
monfernape profile image
Usman Khalil • • Edited

Amazing. Very easy to consume and thank you for telling equivalents in JS.

Collapse
 
aniket762 profile image
Aniket Pal •

Glad to know you liked it πŸ’–

Collapse
 
aungmyatmoe profile image
Aung Myat Moe •

No one use mux. Because it has been abandoned. So try go fiber

Collapse
 
aniket762 profile image
Aniket Pal •

Absolutely! The next blog which I am writing is on Go Fiber πŸ’–

Collapse
 
lakincoder profile image
Lakin Mohapatra •

Very nice

Collapse
 
aniket762 profile image
Aniket Pal •

Thanks Lakin πŸ’–

Collapse
 
gamerseo profile image
Gamerseo •

This post will definitely be helpful.

Collapse
 
aniket762 profile image
Aniket Pal •

Glad you felt the same ^-^

Collapse
 
petepatron profile image
Pete Patron •

Is this line wrong?

  • First let's create a simple struct Person...

Should it instead be:

  • First let's create a simple struct Founder...
Collapse
 
aniket762 profile image
Aniket Pal •

Thanks a lot Pete for correcting, it was a typing error. Hope you like the rest of it

Collapse
 
takmanjim profile image
takmanjim •

Very helpful!!

Collapse
 
aniket762 profile image
Aniket Pal •

Thanks @takmanjim

Collapse
 
pratapkute profile image
Pratap kute •

Very informative

Collapse
 
aniket762 profile image
Aniket Pal •

Thanks Pratap ^-^

Collapse
 
volkanalkilic profile image
Volkan AlkΔ±lΔ±Γ§ •

You can build more performant server with ASP.NET Core under 5 minutes

Collapse
 
aniket762 profile image
Aniket Pal •

Thanks for sharing ^-^

Collapse
 
mohitvdx profile image
Mohit Verma •

Very informative article. I am just starting out with GO. this one really helped.

Collapse
 
aniket762 profile image
Aniket Pal •

Thanks, means a lot

Collapse
 
joan_ouma profile image
Joan Ouma •

Thanks for the information very helpful