Skip to content

fahdfady/rust-api-handler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

this is a demo project. I'm testing the ability to make a nextjs-like /api/ route handler for building a backend system with js. the project is written in rust. using: MetaCall as a runtime for executing the JavaScript code users write, axum to power the backend system, tokio as an async runtime.

TODO

  • simple working demo (GET Requests)
  • add other HTTP methods: GET/POST/DELETE/PUT
  • add caching for GET routes
  • add dynamic routing api/user/[id]
  • use MetaCall instead of deno
  • add polyglot language support
    • NodeJS
    • Python
    • TypeScript
    • Ruby
    • Go
    • Rust

About

demo for scanning api directory (JavaScript files) and making backend API system out of it.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published