Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Returning validation errors and old values to `post` form. | Mateja | 2021-05-09 | 4 | -2/+33 |
| | | | | Made custom middleware for that purpose. | ||||
* | Added more validation. | Mateja | 2021-05-08 | 4 | -8/+53 |
| | |||||
* | Fixed a typo. | Mateja | 2021-05-08 | 1 | -1/+1 |
| | |||||
* | Error handling. | Mateja | 2021-05-08 | 2 | -5/+20 |
| | |||||
* | Fix: `Remove` button visibility | Mateja | 2021-05-07 | 1 | -1/+1 |
| | | | | Variable `auth` was not accessible inside `each` helper. | ||||
* | Change page layout if user is logged in. | Mateja | 2021-05-07 | 4 | -25/+34 |
| | |||||
* | Auto login on user registration. | Mateja | 2021-05-07 | 1 | -2/+1 |
| | |||||
* | Using `passport.js` for login system. | Mateja | 2021-05-07 | 6 | -11/+83 |
| | |||||
* | Hash passwords. | Mateja | 2021-05-06 | 3 | -1/+8 |
| | |||||
* | Adding new users without validation. | Mateja | 2021-05-06 | 3 | -5/+35 |
| | | | | Also set input type to password in `login.handlebars`. | ||||
* | Fix model typo. | Mateja | 2021-05-06 | 1 | -1/+1 |
| | |||||
* | Boilerplate for login system. | Mateja | 2021-05-06 | 8 | -2/+111 |
| | |||||
* | Added flash messages with `connect-flash`. | Mateja | 2021-05-06 | 3 | -0/+9 |
| | |||||
* | Use PORT environment variable. | Mateja | 2021-05-06 | 2 | -1/+2 |
| | |||||
* | Started using `express-session` with `connect-mongo`. | Mateja | 2021-05-06 | 4 | -2/+145 |
| | |||||
* | Started using `dotenv`. | Mateja | 2021-05-06 | 6 | -1/+13 |
| | |||||
* | Make `title` and `text` required in `Post` model. | Mateja | 2021-05-04 | 1 | -2/+2 |
| | |||||
* | Add `date` to `post` model. | Mateja | 2021-05-03 | 1 | -1/+2 |
| | |||||
* | Set `useFindAndModify` to false. | Mateja | 2021-05-03 | 1 | -1/+5 |
| | |||||
* | Add delete option on every post. | Mateja | 2021-05-03 | 4 | -1/+10 |
| | |||||
* | Started using controllers. | Mateja | 2021-05-03 | 2 | -25/+34 |
| | |||||
* | Use MongoDB (with Mongoose) to store posts. | Mateja | 2021-05-03 | 6 | -9/+244 |
| | |||||
* | Started using Express router. | Mateja | 2021-05-02 | 2 | -18/+25 |
| | |||||
* | Setting up html for pages and form body parser. | Mateja | 2021-05-02 | 3 | -2/+32 |
| | |||||
* | Add `public` directory for static files. | Mateja | 2021-05-02 | 3 | -1/+83 |
| | |||||
* | Started using `nodemon`. | Mateja | 2021-05-02 | 2 | -1/+920 |
| | |||||
* | Started using `express-handlebars`. | Mateja | 2021-05-02 | 6 | -2/+189 |
| | |||||
* | Basic Express.js web server. | Mateja | 2021-05-02 | 4 | -11/+385 |
| | |||||
* | A more verbose version of basic Node.js web server. | Mateja | 2021-05-02 | 1 | -2/+7 |
| | |||||
* | Simplest Node.js web server. | Mateja | 2021-05-02 | 4 | -0/+696 |