First time poster, been studying coding for about a year.
I recently built a full stack application in the form of a Daily Planner. As the title suggests, I’m looking for feedback on the general setup of the way I have formatted the files, setup the local server (nodeJs, express), used git and github (.gitignore, readme.md etc), whether I could’ve have done something more in the backend side of things, as I believe my frontend (while needing refining) is fairly well done.
The link to my repo is as follows:
Any and all types of feedback or criticism is appreciated and welcomed.
Sorry if this is not the place to post it or if I have not been descriptive enough.
My first big issue is that you are using an shell script to run your code when Node is right there. You can literally move the code in your run.sh directly into your package.json and it’ll be a good bit better.
Thanks for the feedback! I agree the run.sh file seems unnecessary and I would rather have it put in the package.json, however, from what I have read, it doesn’t seem possible to run these two –watch commands simultaneously directly from the package.json start command. I have simply left both of these commands in the shell script for ease of not having to run the npm start command every time I modify something in my scss file.
Do you know of another way to bypass this problem? Or perhaps I just need to accept the extra step of running the npm start command every time I change my scss, for a cleaner looking directory?
it won’t run two different –watch commands using the & character. It will only run one or the other no matter what way I put it. I’m not exactly sure why it works in the separate shell script and not in the package.json