Closed paramsiddharth closed 3 years ago
@garimasingh128 Please note that it would still show backend/node_modules
and its contents in the "Files Changed" section because it was deleted.
Looks good. Change base to develop please.
Looks good. Change base to develop please.
Pardon! Let me change it.
Done!
Enhance App and Fix Bugs
This is a repeated PR due to problems with #33.
Issues Resolved
Modifications
backend
pollutants by clearing up the cache and recommitting changes.backend/node_modules
is unnecessarily occupying nodes in the repository. When needed, one can do a freshnpm install
ornpm ci
in thebackend
directory to get the back-end ready..gitignore
to exclude thebackend/node_modules
from further commits. The updatedpackage.json
and other required files will always be included.axios
calls by enclosing thewindow.location
assignments in.then()
blocks.<Footer />
component using the same Bootstrap style as used by the rest of the application.<CustomForm {#props} />
component for usage in the<CreateExercise />
and<EditExercise />
components. Why? Because both the components have the same form structure. The only difference is the text inside the submission button. Hence, we judiciously separate the application into components without code-repetition. The component accepts the desired methods and values asprops
.