Strapi & front end (react) hosting Unicorn Meta Zoo #1: Why another podcast? Announcing the arrival of Valued Associate #679: Cesar Manara Data science time! April 2019 and salary with experience The Ask Question Wizard is Live!Permission denied (publickey) when deploying heroku code. fatal: The remote end hung up unexpectedlyLoop inside React JSXProgrammatically navigate using react routerHosting create-react-app on gh-pagesDeploy Django API + React app on HerokuHosting ReactJS with LaravelSecurity for React front-end and Node back-endHow to deploy React/node app on web hostingHow to deploy a django backend and react frontend app to same domainHow do I run my react front-end and express back-end together?

With indentation set to `0em`, when using a line break, there is still an indentation of a size of a space

Does Feeblemind produce an ongoing magical effect that can be dispelled?

My bank got bought out, am I now going to have to start filing tax returns in a different state?

Mistake in years of experience in resume?

What is the term for a person whose job is to place products on shelves in stores?

How to not starve gigantic beasts

Why did C use the -> operator instead of reusing the . operator?

A Paper Record is What I Hamper

What to do with someone that cheated their way through university and a PhD program?

How can I make a line end at the edge of an irregular shape?

Are there moral objections to a life motivated purely by money? How to sway a person from this lifestyle?

What is this word supposed to be?

Implementing 3DES algorithm in Java: is my code secure?

What is the ongoing value of the Kanban board to the developers as opposed to management

Why did Israel vote against lifting the American embargo on Cuba?

France's Public Holidays' Puzzle

Is a 5 watt UHF/VHF handheld considered QRP?

Do I need to protect SFP ports and optics from dust/contaminants? If so, how?

Where did Arya get these scars?

The art of proof summarizing. Are there known rules, or is it a purely common sense matter?

What is a 'Key' in computer science?

All ASCII characters with a given bit count

Does Mathematica have an implementation of the Poisson Binomial Distribution?

Justification for leaving new position after a short time



Strapi & front end (react) hosting



Unicorn Meta Zoo #1: Why another podcast?
Announcing the arrival of Valued Associate #679: Cesar Manara
Data science time! April 2019 and salary with experience
The Ask Question Wizard is Live!Permission denied (publickey) when deploying heroku code. fatal: The remote end hung up unexpectedlyLoop inside React JSXProgrammatically navigate using react routerHosting create-react-app on gh-pagesDeploy Django API + React app on HerokuHosting ReactJS with LaravelSecurity for React front-end and Node back-endHow to deploy React/node app on web hostingHow to deploy a django backend and react frontend app to same domainHow do I run my react front-end and express back-end together?



.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








0















I am looking to make a strapi (headless CMS) and react app and I can find some tutorials about it online, but I can't find much about the best or affordable hosting options.



Do I need to host the two separately? Or can I host them together? For instance, if I use heroku, can I host them in the same Dyno?



To be clear, I would like to host the Strapi back end and the react front end in the same place. Is that possible?










share|improve this question






























    0















    I am looking to make a strapi (headless CMS) and react app and I can find some tutorials about it online, but I can't find much about the best or affordable hosting options.



    Do I need to host the two separately? Or can I host them together? For instance, if I use heroku, can I host them in the same Dyno?



    To be clear, I would like to host the Strapi back end and the react front end in the same place. Is that possible?










    share|improve this question


























      0












      0








      0








      I am looking to make a strapi (headless CMS) and react app and I can find some tutorials about it online, but I can't find much about the best or affordable hosting options.



      Do I need to host the two separately? Or can I host them together? For instance, if I use heroku, can I host them in the same Dyno?



      To be clear, I would like to host the Strapi back end and the react front end in the same place. Is that possible?










      share|improve this question
















      I am looking to make a strapi (headless CMS) and react app and I can find some tutorials about it online, but I can't find much about the best or affordable hosting options.



      Do I need to host the two separately? Or can I host them together? For instance, if I use heroku, can I host them in the same Dyno?



      To be clear, I would like to host the Strapi back end and the react front end in the same place. Is that possible?







      reactjs heroku strapi






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Mar 9 at 6:30







      blubberbo

















      asked Mar 9 at 6:20









      blubberboblubberbo

      1,1731726




      1,1731726






















          2 Answers
          2






          active

          oldest

          votes


















          0














          The best solution is to host your back-end application (in this case Strapi) in one server.



          And you have to host the build of your front-end application (in this case React) in a CDN.



          With this way you can manage precisely resources your allocate to each part of your application.



          After that if you want to host your application in the same server, you can use the public folder that offer Strapi. BUT IT S NOT A GOOD PRACTICE!






          share|improve this answer























          • why is hosting the static site in the public folder not good practice?

            – blubberbo
            Mar 13 at 15:19


















          0














          Strapi is a node.js based project, so you can host Strapi anywhere as long as the service supports node.js.



          Strapi supports a lot of database, so you can host your database separately with Strapi like mongolab .



          Strapi is a headless CMS, which means it generates API for your front-end, so you can host your front-end code separately as well.






          share|improve this answer























          • What about hosting the front-end in the same place as strapi?

            – blubberbo
            Mar 9 at 6:29











          • You can do this, or you can find other services like Firebase Hosting, which cached your front-end code into global CDN, and you can rollback anywhere you want.

            – Joseph Wang
            Mar 9 at 6:34











          • How do I host the front end along with the Strapi back end?

            – blubberbo
            Mar 9 at 6:52











          Your Answer






          StackExchange.ifUsing("editor", function ()
          StackExchange.using("externalEditor", function ()
          StackExchange.using("snippets", function ()
          StackExchange.snippets.init();
          );
          );
          , "code-snippets");

          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "1"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55074616%2fstrapi-front-end-react-hosting%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          2 Answers
          2






          active

          oldest

          votes








          2 Answers
          2






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          0














          The best solution is to host your back-end application (in this case Strapi) in one server.



          And you have to host the build of your front-end application (in this case React) in a CDN.



          With this way you can manage precisely resources your allocate to each part of your application.



          After that if you want to host your application in the same server, you can use the public folder that offer Strapi. BUT IT S NOT A GOOD PRACTICE!






          share|improve this answer























          • why is hosting the static site in the public folder not good practice?

            – blubberbo
            Mar 13 at 15:19















          0














          The best solution is to host your back-end application (in this case Strapi) in one server.



          And you have to host the build of your front-end application (in this case React) in a CDN.



          With this way you can manage precisely resources your allocate to each part of your application.



          After that if you want to host your application in the same server, you can use the public folder that offer Strapi. BUT IT S NOT A GOOD PRACTICE!






          share|improve this answer























          • why is hosting the static site in the public folder not good practice?

            – blubberbo
            Mar 13 at 15:19













          0












          0








          0







          The best solution is to host your back-end application (in this case Strapi) in one server.



          And you have to host the build of your front-end application (in this case React) in a CDN.



          With this way you can manage precisely resources your allocate to each part of your application.



          After that if you want to host your application in the same server, you can use the public folder that offer Strapi. BUT IT S NOT A GOOD PRACTICE!






          share|improve this answer













          The best solution is to host your back-end application (in this case Strapi) in one server.



          And you have to host the build of your front-end application (in this case React) in a CDN.



          With this way you can manage precisely resources your allocate to each part of your application.



          After that if you want to host your application in the same server, you can use the public folder that offer Strapi. BUT IT S NOT A GOOD PRACTICE!







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Mar 12 at 21:00









          Jim LAURIEJim LAURIE

          35615




          35615












          • why is hosting the static site in the public folder not good practice?

            – blubberbo
            Mar 13 at 15:19

















          • why is hosting the static site in the public folder not good practice?

            – blubberbo
            Mar 13 at 15:19
















          why is hosting the static site in the public folder not good practice?

          – blubberbo
          Mar 13 at 15:19





          why is hosting the static site in the public folder not good practice?

          – blubberbo
          Mar 13 at 15:19













          0














          Strapi is a node.js based project, so you can host Strapi anywhere as long as the service supports node.js.



          Strapi supports a lot of database, so you can host your database separately with Strapi like mongolab .



          Strapi is a headless CMS, which means it generates API for your front-end, so you can host your front-end code separately as well.






          share|improve this answer























          • What about hosting the front-end in the same place as strapi?

            – blubberbo
            Mar 9 at 6:29











          • You can do this, or you can find other services like Firebase Hosting, which cached your front-end code into global CDN, and you can rollback anywhere you want.

            – Joseph Wang
            Mar 9 at 6:34











          • How do I host the front end along with the Strapi back end?

            – blubberbo
            Mar 9 at 6:52















          0














          Strapi is a node.js based project, so you can host Strapi anywhere as long as the service supports node.js.



          Strapi supports a lot of database, so you can host your database separately with Strapi like mongolab .



          Strapi is a headless CMS, which means it generates API for your front-end, so you can host your front-end code separately as well.






          share|improve this answer























          • What about hosting the front-end in the same place as strapi?

            – blubberbo
            Mar 9 at 6:29











          • You can do this, or you can find other services like Firebase Hosting, which cached your front-end code into global CDN, and you can rollback anywhere you want.

            – Joseph Wang
            Mar 9 at 6:34











          • How do I host the front end along with the Strapi back end?

            – blubberbo
            Mar 9 at 6:52













          0












          0








          0







          Strapi is a node.js based project, so you can host Strapi anywhere as long as the service supports node.js.



          Strapi supports a lot of database, so you can host your database separately with Strapi like mongolab .



          Strapi is a headless CMS, which means it generates API for your front-end, so you can host your front-end code separately as well.






          share|improve this answer













          Strapi is a node.js based project, so you can host Strapi anywhere as long as the service supports node.js.



          Strapi supports a lot of database, so you can host your database separately with Strapi like mongolab .



          Strapi is a headless CMS, which means it generates API for your front-end, so you can host your front-end code separately as well.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Mar 9 at 6:28









          Joseph WangJoseph Wang

          1269




          1269












          • What about hosting the front-end in the same place as strapi?

            – blubberbo
            Mar 9 at 6:29











          • You can do this, or you can find other services like Firebase Hosting, which cached your front-end code into global CDN, and you can rollback anywhere you want.

            – Joseph Wang
            Mar 9 at 6:34











          • How do I host the front end along with the Strapi back end?

            – blubberbo
            Mar 9 at 6:52

















          • What about hosting the front-end in the same place as strapi?

            – blubberbo
            Mar 9 at 6:29











          • You can do this, or you can find other services like Firebase Hosting, which cached your front-end code into global CDN, and you can rollback anywhere you want.

            – Joseph Wang
            Mar 9 at 6:34











          • How do I host the front end along with the Strapi back end?

            – blubberbo
            Mar 9 at 6:52
















          What about hosting the front-end in the same place as strapi?

          – blubberbo
          Mar 9 at 6:29





          What about hosting the front-end in the same place as strapi?

          – blubberbo
          Mar 9 at 6:29













          You can do this, or you can find other services like Firebase Hosting, which cached your front-end code into global CDN, and you can rollback anywhere you want.

          – Joseph Wang
          Mar 9 at 6:34





          You can do this, or you can find other services like Firebase Hosting, which cached your front-end code into global CDN, and you can rollback anywhere you want.

          – Joseph Wang
          Mar 9 at 6:34













          How do I host the front end along with the Strapi back end?

          – blubberbo
          Mar 9 at 6:52





          How do I host the front end along with the Strapi back end?

          – blubberbo
          Mar 9 at 6:52

















          draft saved

          draft discarded
















































          Thanks for contributing an answer to Stack Overflow!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55074616%2fstrapi-front-end-react-hosting%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Save data to MySQL database using ExtJS and PHP [closed]2019 Community Moderator ElectionHow can I prevent SQL injection in PHP?Which MySQL data type to use for storing boolean valuesPHP: Delete an element from an arrayHow do I connect to a MySQL Database in Python?Should I use the datetime or timestamp data type in MySQL?How to get a list of MySQL user accountsHow Do You Parse and Process HTML/XML in PHP?Reference — What does this symbol mean in PHP?How does PHP 'foreach' actually work?Why shouldn't I use mysql_* functions in PHP?

          Compiling GNU Global with universal-ctags support Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern) Data science time! April 2019 and salary with experience The Ask Question Wizard is Live!Tags for Emacs: Relationship between etags, ebrowse, cscope, GNU Global and exuberant ctagsVim and Ctags tips and trickscscope or ctags why choose one over the other?scons and ctagsctags cannot open option file “.ctags”Adding tag scopes in universal-ctagsShould I use Universal-ctags?Universal ctags on WindowsHow do I install GNU Global with universal ctags support using Homebrew?Universal ctags with emacsHow to highlight ctags generated by Universal Ctags in Vim?

          Add ONERROR event to image from jsp tldHow to add an image to a JPanel?Saving image from PHP URLHTML img scalingCheck if an image is loaded (no errors) with jQueryHow to force an <img> to take up width, even if the image is not loadedHow do I populate hidden form field with a value set in Spring ControllerStyling Raw elements Generated from JSP tagds with Jquery MobileLimit resizing of images with explicitly set width and height attributeserror TLD use in a jsp fileJsp tld files cannot be resolved