Directory Structure
If You Ever Worked on Laravel (PHP Framework), this structure will look familier.
root-directory
├── backend // all your server related stuff goes here
│ ├── app
│ │ ├─ http
│ │ │ └── controller
│ │ ├── models // all database models will lie here
│ │ └── providers
│ ├── config // project related configuration
│ ├── database // migrations will be stores here
│ ├── email // email settings
│ ├── routes // register your routes here
│ └── views // for email and other server related views
└── frontend // all your client related stuff goes here