DEV Community

Cover image for “REMI-IA Challenge: Event Log Endpoint Published”
Jramone3
Jramone3

Posted on

“REMI-IA Challenge: Event Log Endpoint Published”

Hello Dev Community 👋,

We are excited to share that our project for the AI-Powered Backend Challenge is now complete and published.

Project: REMI-IA Challenge

  • Backend built in Xano, following the approach of AI-assisted development.
  • Main endpoint: create_event_log to register actions in the event_log table.

Example endpoint definition

xano
// Endpoint to register events in the event_log table
query create_event_log verb=POST {
auth = "user"

input {
int user_id
int account_id
text action filters=trim
json metadata
}

stack {
db.add event_log {
data = {
created_at: "now"
user_id : $input.user_id
account_id: $input.account_id
action : $input.action
metadata : $input.metadata
}
} as $eventlogentry
}

response = {event_log_entry: $eventlogentry}
}
Example response
{
"event_log_entry": {
"id": 18,
"user_id": 1,
"account_id": 10,
"action": "readme_create",
"metadata": {
"section": "Introduction",
"description": "Sample text",
"detail": "Additional detail"
},
"created_at": 1764954080301
}
}
Testing the endpoint
You can test it with curl using placeholders:
curl -X POST "https://.xano.io/api:/create_event_log" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer " \
-d '{
"user_id": 1,
"account_id": 10,
"action": "readme_create",
"metadata": {
"section": "Introduction",
"description": "Sample text",
"detail": "Additional detail"
}
}'
The project is now live and ready for review ✅. We look forward to your feedback and suggestions.

Experience using Xano

Working with Xano allowed us to refine AI-generated backend code into a production-ready API.

The most helpful part was the Debug tool and the ability to quickly validate endpoints.

A challenge we faced was ensuring authentication worked correctly with curl, which we solved by using the proper Bearer token.

Top comments (3)

Collapse
 
jramone3 profile image
Jramone3 •

Our project for the Xano AI-Powered Backend Challenge is now complete and published ✅.

👉 Submission: REMI-IA Challenge: Event Log Endpoint Published

Main endpoint: create_event_log (POST) — tested and returning event records successfully.

We look forward to feedback from the community and the judges!

Some comments may only be visible to logged-in visitors. Sign in to view all comments.