Questions tagged [api]
API, for code implementing (NOT using) an Application Programming Interface. A program's API defines the proper way for a developer to request services from that program, site and/or service.
560 questions
2
votes
1
answer
33
views
DioClient using Clean Architecture following SOLID Principle
I am trying to write an API Client in flutter that follows Clean Architecture, SOLID principle and best programming practices
After completing this, I am going to use it in Repository or DataSource. ...
4
votes
0
answers
73
views
Correct abstractions/organisation of a NodeJS GraphQL API
I recently did a quick take-home test for a potential job opportunity. It included building a GraphQL API with nodeJS. I am not an expert in node (mostly use Python at work) but I have used it for ...
4
votes
1
answer
91
views
Abstraction Layers and Best Practices in Authentication with EF Core
Do you recommend adding a layer of abstraction on top of EF Core for example we have an API controller responsible for authentication do I just call EF Core methods directly in the controller or do I ...
3
votes
0
answers
81
views
.NET API entity framework core clean with clean architecture
I’m new to Clean Architecture and EF Core, and I’m trying to learn by practicing and watching tutorials. I’ve been implementing a basic authentication flow and would appreciate some feedback on ...
8
votes
3
answers
2k
views
A remote trading bot that runs on the CLI - first C++ project
I am looking for feedback about a working trading bot (which connects to the API of the deribit website and trades on that platform) I made. I am a beginner in C++ and would like to learn some good ...
3
votes
0
answers
40
views
Mongo C++ Driver: Insert
This update is based on a previous review where I tried creating a WriteConfig and a WriteConfigBuilder. I have updated this so ...
1
vote
0
answers
34
views
How to optimize authentication and authorization, API calls in a task management frontend application?
Let me give a brief explanation of the mini-application I've designed using Angular :
A simple login page that requires user email and password as credentials. Once logged in, the user is moved to a ...
3
votes
0
answers
153
views
Simulating Objects with Collections in VBA
Background
I am writing a VBA module which requires the functionality of a custom object. This object will support "regular" functions (UDFs) within the module.
Due to reasons beyond the ...
1
vote
0
answers
55
views
How to properly organise a backend API structure in ColdFusion (CF9)
I have written a very basic API for my client using ColdFusion.
Currently I have endpoints with cfm files for each endpoint at that location.
For example:
...
3
votes
1
answer
65
views
Creating an API secured only by the request signature
I'm trying to create an API that will receive requests from users without having to do a login request. They will just have a user id and a key. My intention is that they will use the key to create a ...
4
votes
2
answers
954
views
Simple load balancer
I would like to know the possible improvements in design and concurrency of the following load balancer:
ability to add/register new instance
keep max of 10 instances for load balancer
forbid ...
4
votes
1
answer
355
views
API Generator for Python [closed]
I'm currently working on my thesis to obtain a bachelor in software engineering, and i want to get some feedback from real developers of how useful this project can be in the real life.
the project is ...
2
votes
1
answer
64
views
Convention based OpenApi schema generation for dotnet and NSwag
So I am getting tired from adding the same [ProducesResponseType] attribute on my WebAPI controller methods over and over, and I thought there must be an easier, ...
4
votes
1
answer
125
views
C99 - Lexer for the Monkey Programming Language from the book "Writing An Interpreter In Go"
Below is a C version of a lexer for the Monkey programming language, originally written in Go, as presented in the book Writing An Interpreter In Go.
LOC: 371. (Excluding the tests.)
Language:
Copy ...
6
votes
3
answers
930
views
A String View Library in C
I was recently working through the PintOS projects and became curious if there was a better way to do some string processing in C. Specifically, instead of strtok_r,...