I just finished the voting app, the first of the full stack projects. I’m having trouble deploying it, whether it be on heroku or glitch. I’ve googled around and the solutions haven’t worked. I’m trying to figure out a way to deploy my app.
Here is my code.
I have a server at index.js, and then I have within the client folder code that was built off of create react app.
In my express router, I serve the client’s index.html.
In my primary package.json I concurrently run both the nodemon server and the create react app client.
I have the jwt secret and mlab url in my config.js.
The app works just fine on my local machine. I just can’t seem to figure out how to deploy it.