MarynaMartseniuk / Note-Taker-ch11

Note Taker is an App that can be used to write and save notes. This application uses an Express.js back end and saves and retrieves note data from a JSON file.
MIT License
0 stars 0 forks source link

modularization: routes folder #19

Open MarynaMartseniuk opened 3 months ago

MarynaMartseniuk commented 3 months ago

create a routes folder for '/api', so send all 'localhost:3001/api' routes to the routes folder to use the index.js for routes. index.js for routes should redirect specific routes to use specific routes.js.

MarynaMartseniuk commented 3 months ago

now: have an issue: code are not redirected to notes.js in index.js (routes folder).