RobinsonAmianda / To_do_list-Frontend

0 stars 0 forks source link

Add Configuration File for Backend URL #6

Closed festus-sulumeti closed 2 months ago

festus-sulumeti commented 2 months ago

This PR introduces a configuration file to store the backend URL, improving maintainability and scalability by centralizing configuration variables.

Changes:

  1. Created a config.js file in the src directory.
  2. Defined the backend URL in config.js.
  3. Updated the Userlogin component to use the backend URL from the configuration file.