Rajat2024 / NoteBook

Here notebook is created using React as a frontend and NodeJS as a backend. Here you can add , delete and update notes in your Mongoose database. You create a password using express validation , authentication using JWT Token and salting. An easy way to sign up and log in a notebook, context for data passing through the component.
https://mern-notebook.onrender.com/
0 stars 1 forks source link

Improve backend folder structure and database.js connection files with production logger #103

Closed yashraj-exe closed 1 year ago

yashraj-exe commented 1 year ago

Is your feature request related to a problem? Please describe. Improve Backend Folder structure and API performance + adding feature to attach image in notes

Describe the solution you'd like Add saperate CONFIG folder for database connection and CONTROLLERS for Business logic using OOPS and add logger, remove console.log() for logging information in HOSTED _SERVER and optimize all API's

Describe alternatives you've considered If we improve our folder structure then it very easy to debug our code and improve performance

Additional context databse.js :- Screenshot 2023-05-22 103338

Folder Structure :- Screenshot 2023-05-22 103554

( I would like to work on this issue, please assign this issue to me under GSSoC'23. @Rajat2024 )