# Creating API for mobile and web apps

**URL:** <https://discourse.julialang.org/t/creating-api-for-mobile-and-web-apps/118550>\
**Category:** New to Julia\
**Tags:** question\
**Created:** [August 24, 2024, 6:20am UTC](https://discourse.julialang.org/t/creating-api-for-mobile-and-web-apps/118550 "2024-08-24T06:20:13Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Shiva\_raj](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/shiva_raj/32/50626_2.png) [@Shiva\_raj](https://discourse.julialang.org/u/Shiva_raj)\
**Post date:** [August 24, 2024, 6:20am UTC](https://discourse.julialang.org/t/creating-api-for-mobile-and-web-apps/118550/1 "2024-08-24T06:20:13Z")

</div>

Hi Team,  
I am building a mathematics logic for a school for geometry and basic maths. I want to create a mobile app in reactive native and back end in julia with API exposed.

need support and suggestion on how to achieve this.

---

<div class="post-metadata">

**Author:** ![goerz](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/goerz/32/3269_2.png) [@goerz](https://discourse.julialang.org/u/goerz)\
**Post date:** [August 24, 2024, 7:41am UTC](https://discourse.julialang.org/t/creating-api-for-mobile-and-web-apps/118550/2 "2024-08-24T07:41:57Z")

</div>

There is no reason that a backend and frontend have to be implemented in the same language. I don’t think Julia can be used to develop a mobile app.

---

<div class="post-metadata">

**Author:** ![mkitti](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mkitti/32/12459_2.png) [@mkitti](https://discourse.julialang.org/u/mkitti)\
**Post date:** [August 24, 2024, 9:02am UTC](https://discourse.julialang.org/t/creating-api-for-mobile-and-web-apps/118550/3 "2024-08-24T09:02:38Z")

</div>

I’m not sure if there is a clear way to package Julia for mobile at the moment, so I’m unclear how you would Julia as a backend on mobile. There are some enabling changes to the Julia ecosystem that might permit this in the neae future though.

My vague sense is that you might want to focus building a mobile friendly web app using React and then have Julia running in a cloud using  
[GitHub - SimonDanisch/Bonito.jl: Serving JS to the browser](https://github.com/SimonDanisch/Bonito.jl) as an interface.

---

<div class="post-metadata">

**Author:** ![JesperMartinsson](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jespermartinsson/32/34098_2.png) [@JesperMartinsson](https://discourse.julialang.org/u/JesperMartinsson)\
**Post date:** [August 24, 2024, 1:27pm UTC](https://discourse.julialang.org/t/creating-api-for-mobile-and-web-apps/118550/4 "2024-08-24T13:27:18Z")

</div>

We’ve implemented a few web apps in PlotLy and Dash.jl: and for 2D plots it can be made fairly mobile friendly but for 3D it is difficult to get e.g. the pinch to work, especially with PlotLy. Perhaps Genie Builder can work but I guess using it with PlotLy (and 3D) might end up in similar challenges.

---

<div class="post-metadata">

**Author:** ![Shiva\_raj](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/shiva_raj/32/50626_2.png) [@Shiva\_raj](https://discourse.julialang.org/u/Shiva_raj)\
**Post date:** [August 24, 2024, 2:11pm UTC](https://discourse.julialang.org/t/creating-api-for-mobile-and-web-apps/118550/5 "2024-08-24T14:11:19Z")

</div>

@goerz @JesperMartinsson @mkitti  
Thanks for your response, as @mkitti mentioned I want to build the logic in julia as backend running in cloud and Reactive native for frontend for both webapp / Andriod.

Also can some one help me with below post [Genie web framework issue for simple calculator app](https://discourse.julialang.org/t/genie-web-framework-issue-for-simple-calculator-app/118566)

---

<div class="post-metadata">

**Author:** ![Palli](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/palli/32/3380_2.png) [@Palli](https://discourse.julialang.org/u/Palli)\
**Post date:** [August 24, 2024, 2:56pm UTC](https://discourse.julialang.org/t/creating-api-for-mobile-and-web-apps/118550/6 "2024-08-24T14:56:51Z")

</div>

I wouldn’t say Julia on mobile is well supported, unofficially (nor officially at all), only with some workarounds on Android, that will not be too helpful.

That said, I understand many mobile apps are actually basically web apps, and I could well see that working, somehow similar to what I saw recently registered:

> **[GitHub - GenieFramework/StippleDesktop.jl: Run Stipple apps on the desktop](https://github.com/GenieFramework/StippleDesktop.jl)**
>
> Run Stipple apps on the desktop

> Run any genie app as a desktop application with Electron.

---

<div class="post-metadata">

**Author:** ![Rakesh](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/rakesh/32/202257_2.png) [@Rakesh](https://discourse.julialang.org/u/Rakesh)\
**Post date:** [August 25, 2024, 7:36am UTC](https://discourse.julialang.org/t/creating-api-for-mobile-and-web-apps/118550/7 "2024-08-25T07:36:04Z")

</div>

Using Oxygen.jl you can create backend api in Julia.

Documentation of Oxygen [Overview · Oxygen.jl](https://oxygenframework.github.io/Oxygen.jl/stable/)

---

<div class="post-metadata">

**Author:** ![Shiva\_raj](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/shiva_raj/32/50626_2.png) [@Shiva\_raj](https://discourse.julialang.org/u/Shiva_raj)\
**Post date:** [August 26, 2024, 12:38pm UTC](https://discourse.julialang.org/t/creating-api-for-mobile-and-web-apps/118550/8 "2024-08-26T12:38:53Z")

</div>

@Rakesh thanks for response, let me try to test the configuration.
