Closed frankcollins3 closed 1 year ago
👍 const express = require('express'); 👎 import express from 'express';
first proposed approach: configure express && node with server.js/index.js on the front end only
👎 instead of handling config in the directory from which our backend API will execute probably w/ express Router.get():
👍 do a quick set up in the front end directory to avoid concerns outside of invoking express() correctly.
There isn't a need to let any other problems like correctly preparing the path string to hit the /backend folder (mkdir)
[9:02am]
server has woken up.
[9:08am]
👍 const express = require('express'); 👎 import express from 'express';
first proposed approach: configure express && node with server.js/index.js on the front end only
👎 instead of handling config in the directory from which our backend API will execute probably w/ express Router.get():![Screen Shot 2023-05-05 at 8 54 40 AM](https://user-images.githubusercontent.com/73137934/236462965-b9017f7d-1aaf-47f6-9398-fa6cf09419d0.png)
👍 do a quick set up in the front end directory to avoid concerns outside of invoking express() correctly.
There isn't a need to let any other problems like correctly preparing the path string to hit the /backend folder (mkdir)