This repo is practice for nodejs. I'm getting lessons from "Arina Yazilim" youtube channel. Over next commit, the new updates will be soon.
We've seperated files by their process. and parse the common html file codes and store them in /partials file
We've added mongodb and used 'mvc" for our project.
We've modifyed html files in views. Added post/get request in our code by "photos".
we made photo page dynmaic. photo name, description comes from our db. a new ejs file created
created a user form to register. Created user register model in mongodb. Added "register.ejs" and rendering page. Added "post" request to user register
added a login page. Getting username and password from /login page. and compare them same or not
added Authentication, Authorization, JSON WEB TOKEN
added cookie parser. We saved our tokens in cookie. SO we could stay login. And we got our tokens in cookies.