aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Simpler MongoSessionStore.HEADmainMateja2021-06-021-3/+1
|
* Ports should match for logs to not be confusing.Mateja2021-06-021-1/+1
|
* Logging DB connection.Mateja2021-06-021-2/+4
|
* Add `env.js`.Mateja2021-06-022-5/+11
|
* Added `docker-compose.yml` file.Mateja2021-05-281-0/+34
|
* Use `node` user only to run the container.Mateja2021-05-281-2/+2
|
* Add `Dockerfile` and `.dockerignore`.Mateja2021-05-283-1/+21
|
* Returning validation errors and old values to `post` form.Mateja2021-05-094-2/+33
| | | | Made custom middleware for that purpose.
* Added more validation.Mateja2021-05-084-8/+53
|
* Fixed a typo.Mateja2021-05-081-1/+1
|
* Error handling.Mateja2021-05-082-5/+20
|
* Fix: `Remove` button visibilityMateja2021-05-071-1/+1
| | | | Variable `auth` was not accessible inside `each` helper.
* Change page layout if user is logged in.Mateja2021-05-074-25/+34
|
* Auto login on user registration.Mateja2021-05-071-2/+1
|
* Using `passport.js` for login system.Mateja2021-05-076-11/+83
|
* Hash passwords.Mateja2021-05-063-1/+8
|
* Adding new users without validation.Mateja2021-05-063-5/+35
| | | | Also set input type to password in `login.handlebars`.
* Fix model typo.Mateja2021-05-061-1/+1
|
* Boilerplate for login system.Mateja2021-05-068-2/+111
|
* Added flash messages with `connect-flash`.Mateja2021-05-063-0/+9
|
* Use PORT environment variable.Mateja2021-05-062-1/+2
|
* Started using `express-session` with `connect-mongo`.Mateja2021-05-064-2/+145
|
* Started using `dotenv`.Mateja2021-05-066-1/+13
|
* Make `title` and `text` required in `Post` model.Mateja2021-05-041-2/+2
|
* Add `date` to `post` model.Mateja2021-05-031-1/+2
|
* Set `useFindAndModify` to false.Mateja2021-05-031-1/+5
|
* Add delete option on every post.Mateja2021-05-034-1/+10
|
* Started using controllers.Mateja2021-05-032-25/+34
|
* Use MongoDB (with Mongoose) to store posts.Mateja2021-05-036-9/+244
|
* Started using Express router.Mateja2021-05-022-18/+25
|
* Setting up html for pages and form body parser.Mateja2021-05-023-2/+32
|
* Add `public` directory for static files.Mateja2021-05-023-1/+83
|
* Started using `nodemon`.Mateja2021-05-022-1/+920
|
* Started using `express-handlebars`.Mateja2021-05-026-2/+189
|
* Basic Express.js web server.Mateja2021-05-024-11/+385
|
* A more verbose version of basic Node.js web server.Mateja2021-05-021-2/+7
|
* Simplest Node.js web server.Mateja2021-05-024-0/+696