Lhunaria / lhunaria-api

0 stars 0 forks source link

Which technology should we use? #1

Open Zonitidus opened 3 months ago

Zonitidus commented 3 months ago

Problem Definition:

We aim to build an API that allows basic CRUD operations. Additionally, the API should have proper logging and metrics configured to ensure we can monitor its performance and behavior effectively.

Description:

We are in the process of deciding on the technology stack for our API. We are looking for suggestions on the best technologies to use for the following components:

Programming Language:

Should we use Go, Python, Node.js, or another language?

Web Framework:

Should we use something like Gin for Go, Flask/Django for Python, or Express.js for Node.js?

Database:

Should we go with MongoDB, PostgreSQL, MySQL, or another database?

ORM (Object-Relational Mapping):

Do we need an ORM like GORM for Go, SQLAlchemy for Python, or Sequelize for Node.js? Or should we opt for direct database queries?

Zonitidus commented 3 months ago

I was thinking:

Language:

Go. I've wanted to learn at least the basics for a while now and this seems to be the perfect opportunity. Plus, the projects I've worked with are all written in Go.

Framework:

Our main focus is on the infrastructure that works around this app, not the app per se. So I don't see any issue with wirtting a "vanilla" mock-api.

Database:

Doesn't matter to me. Maybe use a mongodb by default.

Technologies I would like to integrate this api with:

ValeArias07 commented 3 months ago

Go seems good to me.