Learn directory structure and connection to DB
Learn how to maintain proper express dir structure and how to do DB operations properly using mongoose. refer this
Learn how to maintain proper express dir structure and how to do DB operations properly using mongoose. refer this