Skip to content

An example fullstack app with rust backend, typescript frontend, and automatic typescript SDK generation

License

Notifications You must be signed in to change notification settings

EtienneDx/example-calculator-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Example Calculator App

This is a simple calculator app that demonstrates how to use generate a typescript SDK from a rust backend, using autogenerated openapi specs to do so.

The process is documented on this medium post.

Technologies

  • Rust
    • poem
    • poem-openapi
  • Typescript
    • openapi-typescript-codegen
    • react

How to run

To run the backend, you need to have rust installed. Then you can run the following commands:

cd back-end
cargo run

To run the frontend, you need to have node and npm installed. Then you can run the following commands:

cd front-end
npm install
npm run make-sdk
npm start

License

This project is licensed under the MIT License - see the LICENSE.md file for details

About

An example fullstack app with rust backend, typescript frontend, and automatic typescript SDK generation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published