Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

JavaScript

Zhengwei Liu
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
Zhengwei Liu
Full Stack JavaScript Techdegree Graduate 14,427 Points

deploy Full Stack App with React and a REST API

Now I'm about to finish the last project in Full Stack Techdegree. I'm wondering how to deploy my code in production. I tried to deploy it in GitHub or Netlify but I couldn't get it to work out since the project involve both REST API and REACT APP. Is there a way to deploy the project? It would be better if there is an instruction. Thanks for your help.

1 Answer

Lee Vaughn
seal-mask
STAFF
.a{fill-rule:evenodd;}techdegree seal-36
Lee Vaughn
Treehouse Teacher

Hi Zhengwei and congratulations on completing the FSJS Techdegree!

Deploying this application is beyond the scope of the Techdegree but figuring out how to do it is certainly a good next step in your coding journey now that you have finished the TD.

One of the things you will need to do is to set up the app to use a different type of database in production. SQLite3 is just for development.

If you deploy the app on Heroku you will probably also need to tweak the setup of the project. I don't believe Heroku allows you to run two different servers in the same app.

Now that you have graduated, you should have received an invite to the Alumni Slack. You might try asking there to see if anyone has deployed this app and might be able to offer any advice.