Play an online game of Would you Rather!
Choose your answers, see other people's votes, leave comments on the questions, and create your own!
Link to the project: https://would-you-rather-adfe.onrender.com/
npm install
- Create a
.env
file in config folder and add the following askey = value
- PORT = 2121 (can be any port, example: 3000)
- DB_STRING =
your database URI
npm start
Tech used: HTML, CSS, Tailwind CSS, JavaScript, Node.js, Express, EJS, MongoDB
Packages/Dependencies used bcrypt, connect-mongo, dotenv, ejs, express, express-flash, express-session, mongodb, mongoose, morgan, nodemon, passport, passport-local, validator
"Would You Rather?" is a full-stack web application that follows the MVC (Model-View-Controller) paradigm. The app's architecture separates the application logic into three interconnected components, the model, the view, and the controller.
The model handles data storage and retrieval, the view handles the UI design and display, while the controller manages the communication between the model and the view.
Using this architecture provides a well-organized and efficient development process, enabling the development team to build an engaging and fun experience for users.
Working as a team on this project emphasized for us the importance of effective collaboration and communication. Regular meetings, clear task assignments, and open discussions helped us stay on the same page and avoid misunderstandings.
Implementing the MVC architecture really helped with our workflow. Separating the application logic into components resulted in better organized code, while allowing us to work on different tasks at the same time.
Overall, it was a great learning experience, teaching us the importance of teamwork and architectural patterns in group projects.