- This repository has the code to support a tutorial that I created on Medium called Create a React FrontEnd, a Node/Express BackEnd and connect them together.
- This repository can also be used as a starting point (boilerplate), if you whant to create your own React/Express app. .
You are very welcome to check the tutorial on Medium. Just follow the link below.
Actually, there are two separated apps. The Client which serves the FrontEnd (using React), and the API (in Node/Express).
- In your terminal, navigate to the
apidirectory. - Run
npm installto install all dependencies. - Run
npm startto start the app.
- In another terminal, navigate to the
clientdirectory. - Run
npm installto install all dependencies. - Run
npm startto start the app
- With the two apps running, open your browser in http://localhost:3000/.
- If you see a webpage saying
Welcome to React, it means the FrontEnd is working. - If the same webpage has the phrase
API is working properly, it means the API is working. - Enjoy!