Hey fellow Campers!
I just wanted to let people know. If you are currently on the back-end section of the curriculum, you’re using Node.js, and you’re struggling to figure out a nice way to structure your application’s back-end. You can checkout a framework like Nodal.
If you’re familiar with the Ruby on Rails framework you’re going to like Nodal as well.
When I was doing the Vote App project, I simply put all my routes, middleware, and handlers all in two or three files. It was very cluttered and messy.
Since most of us are new to learning back-end I think everyone should follow a framework for the time being, before implementing your own structure.
This also allows us to easily test our application since everything is neat and modular.
I believe that this will help us when looking for a job, because the framework will help us look more professional.
EDIT: I forgot to add, I do realize that the Nodal framework is way to heavy for the simple backend projects that we are doing here on FCC. So if you want, you can copy the way they implement their controllers, models, and routes into your small projects.