Topic: best practice for adding express API

sedonawebservices pro asked 5 years ago


Do you have any advice for best way to add an API (using Express) to an app built with this template? All I see is that "react-scripts" is used to start the server. Would it be best to remove "react-scripts" and replace with my own server code, or is there a pre-configured approach? Thank you!

Anna Morawska staff answered 5 years ago


Hi there, do you use our MDB-React-Pro-npm preconfigured package? It uses create-react-app under the hood, so I think, you should approach this as every other create-react-app.  If you are interested we will prepare a short tutorial about this. If you have any suggestion, please feel free to write them below. Best, Ania  

Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue

  • ForumUser: Pro
  • Premium support: No
  • Technology: MDB React
  • MDB Version: 4.7.1
  • Device: Desktop
  • Browser: Chrome
  • OS: OS X
  • Provided sample code: No
  • Provided link: No
Tags