DEV Community

Cover image for What are simple tools for creating a standalone API-only service?
Ben Halpern
Ben Halpern Subscriber

Posted on

What are simple tools for creating a standalone API-only service?

I doubt there is one correct answer, as this is going to depend on language preferences, whether the service is offered by a company you might already have an account with, etc.

But I'd love any and all opinions on this subject!

Latest comments (17)

Collapse
 
collimarco profile image
Marco Colli

Ruby on Rails: it also has an API-only mode

Collapse
 
kolja profile image
Kolja

I recently build my first API application, the Backend ist just one php file ans a SQlite database.

Collapse
 
imthedeveloper profile image
ImTheDeveloper

For the JS crew I still find sails.js with blueprint turned on for APIs really useful.

Collapse
 
mohdahmad1 profile image
Mohd Ahmad

You can use adonis js, it is great. You'll love it.

Collapse
 
ecyrbe profile image
ecyrbe

If you need to call your APIs with runtime and compile time type checks, take a look at zodios

Collapse
 
tmeckel profile image
Thomas Meckel

Depends on the meaning of simple. Simple in the sense of small or simple in the sense of easy to use. And yes it highly depends on your preferred programming language and it's ecosystem. If you're familiar with Python I can highly recommend FastAPI. With Typescript/Javascript it's Express. All other famous programming languages like C# or Go need a greater effort to set up and they must be compiled.

Collapse
 
vinthefantastic1 profile image
vinthefantastic1

C# APIs are a lot easier than they used to be since VS 2022 arrived.

Collapse
 
tmeckel profile image
Thomas Meckel • Edited

If you leave the VS 2022 monster out of the game and use the command line, yes I agree. You can quickly generate a API in minutes.

Collapse
 
gollyjer profile image
Jeremy Gollehon • Edited

At token.art we've grown fond of the Postgres + Hasura combo.

Collapse
 
thomasstep profile image
Thomas Step

I've made plenty of APIs with API Gateway, Lambda, and DynamoDB. I use CDK to define the infrastructure and by now I have enough code examples to build things pretty quickly. I have a CDK Construct that helps speed my development up too so that my file structure defines my API structure kind of like Next.js does with web pages.

Collapse
 
karandpr profile image
Karan Gandhi

Parse and Hasura are quick to deploy and consume.

Collapse
 
sherrydays profile image
Sherry Day

@polterguy just posted about their company's product Aista, which I think fits the conversation if you want to generate said API from an existing database.

Collapse
 
polterguy profile image
Thomas Hansen

Thx Sherry :)

Collapse
 
auramoon55 profile image
Anshul Garg

FASTAPI - Its like Flask or Django
MongoDB - For Database