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 phx.new example_api --no-webpack --no-html --no-dashboard --no-gettext --no-ecto

Adjust as you need :slight_smile:

2 Likes

can I develop crud app with api?

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

mix phx.new 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: