@ian5medium sized ship 🚢
Some background: I make a ton of small projects, and end up having to build my own API routes just for a small backend functionality. Parsing, validating, and responding to the requests takes a while to implement and takes time from the project I’m trying to make. That’s why I built <http://github.com/yodalightsabr/function-apis|function-apis>.
function-apis is a small express middleware that lets you define functions to automatically be available to the client. With as little as 11 lines of code, you can make an async request to the server and function-apis will handle the HTTP request behind the scenes.
:github:github.com/yodalightsabr/function-apis:npm:npmjs.com/package/function-apisalso: I think my next project will be an NPM package name finder, because I tried like 20 different package names and they were all taken.:peefest:edit: the package `available` seems to work
@ian5Working on a small project to pass functions from the backend to the frontend without worrying about API routes and parameter parsing. Thanks @ced for helping me figure out parsing the JSON body
@audreyolafz0learned Express generator today - now back to a ton of (organized) files
@audreyolafz0Been playing with Express and REST for the past couple of days, pretty nice to get into my coding groove again 💻
@ian5yodacode.xyz/F7128236162.png I made a Siri shortcut to upload screenshots from my phone to my image host. I already made a Raycast script for it but now I have a script for when I'm on my phone.
@caleb0Switched Resolute over to Yarn 3 + PnP, a change I thought I'd never make. Begone, ye node_modules.
@ian5Working on a new project called Terminal Games! I’m looking to add a new game each day and if anyone else wants to help add games you can make a PR on GitHub.
@ian5Working on a database in Discord that’s AES-256 encrypted!
@ian5A thing for storing any form of data on replit
@ian5Making a super hacky express templating engine. It only supports logged in/logged out ifs, and XSS-free variables.
@ian5Made a Node.js api for replacing colors in bootstrap so you don't have to compile SASS and deal with that mess