A Simple ToDo App is built using the MVC Architecture, we have also implemented "authorization" so folx can sign up, customize & personalize the app
Be sure to add that lovely star 😀 and fork it for your own copy
- It's a beginner level app created to understand how MVC concept and logins are added
- It's for beginners & intermediates with little more experience, to help understand the various aspects of building a node app with some complex features
bcrypt, connect-mongo, dotenv, ejs, express, express-flash, express-session, mongodb, mongoose, morgan, nodemon, passport, passport-local, validator
npm install
- Create a
.env
file and add the following askey: value
- PORT: 2121 (can be any port example: 3000)
- DB_STRING:
your database URI
Have fun testing and improving it! 😎
Further explored EJS and got more experience with it. Getting more comfortable with the syntax and delimiters. Learned how to redefine schemas and be able to update all existing documents to fit that schema. Got experience working in an unfamiliar codebase and be able to explore it and add new features to it. Getting used to styling with bootstrap, it's pretty fun so far! I can see how this can be conveinient once you get used to all the components and classes. I think I'm gonna really like tailwind! :D Again just by building and trying things out I've learned so much in such a short amount of time and gotten more and more familiar with this code base and how everything connects together the more I worked on it. Learned how to use express-flash to be able to store messages as a property on the locals object(Once again, the locals object is accessible globally throughout our templating engine files, we can manually store items to make it accessible throughout all our view engine templates as well! Awesome!) Learned that there is a res.locals object that is specific to each individual request as well!!! Might be able to use this to do some cool things like personalized messages to the current user. Got more comfortable creating my own middleware.