Is it possible to work only with elixir api for react.js web app?

I have react app and I want to create api with elixir and put in my react app, is it possible to do everything just with APİ in react.js project?

Yes, just remove the web boilerplate from your Phoenix project or don’t use Phoenix at all.

Phoenix example:

mix example_api --no-webpack --no-html --no-dashboard --no-gettext --no-ecto

Adjust as you need :slight_smile:


can I develop crud app with api?

If you want the database adjust the command to remove the flag --no-ecto:

mix example_api --no-webpack --no-html --no-dashboard --no-gettext
1 Like

tnx so much

1 Like

If I solved your question then you can mark the post that solves it as the solution :slight_smile: