Kritika30032002 / Top_Secrets

This is a website that allows user to add their secrets anonymously to the website. Thus makes its interesting. One can add their secrets that they don't want to share with anyone.
https://top-secrets.onrender.com/
MIT License
50 stars 86 forks source link

[Other] Code Modulation of Backend: app.js #186

Closed aryadevesh closed 1 month ago

aryadevesh commented 1 month ago

What would you like to share?

Your backend code is written in only 1 file : app.js which is a bad coding practice and makes it very hard to contribute in backend. If you assign me this issue:-

  1. I will make separate js file(modules) for auth and mongoDb only, if you merge work then I will raise other issues in backend.
  2. I will make sure to keep the integrity of the code.

Additional information

No response

Checklist

Code of Conduct