22 Commits (88a9eb7749ca2e46edd6d04689d22fbda11c8952)

Author SHA1 Message Date
KKlochko 88a9eb7749 Add a validation for the edit article form.
1 year ago
KKlochko f493b47320 Add a validation for the create form.
1 year ago
KKlochko 634f7e41e2 Add a validation for the about form in the admin panel.
1 year ago
KKlochko 60f943d2ca Add the about page and the about content form to the admin panel.
1 year ago
KKlochko 16d8e1f140 Add cookie-parser and session to use authorization.
1 year ago
KKlochko 3f1ba5a556 Add the middleware to prevent access to the admin panel if authorized.
1 year ago
KKlochko d70f03aee4 Add the authorization to login and logout as the admin.
1 year ago
KKlochko 8ee9b5b595 Add a drawer, routes, handlers to update an article.
1 year ago
KKlochko 6d3eefcd35 Add the search for articles for the admin panel.
1 year ago
KKlochko 2f82f419d7 Add the search for articles on the index page.
1 year ago
KKlochko e464e9d70f Add auto-creating tables if they do not exists.
1 year ago
KKlochko 65c8a49182 Update the navbar to highlight depend on the page.
1 year ago
KKlochko 9d7ec9888b Add a helper to format an article's timestamp.
1 year ago
KKlochko 9c0e888284 Add the helpers for timestamp and brief contents.
1 year ago
KKlochko d8d8340aa2 Add the route and handler to delete a article.
1 year ago
KKlochko 9177e42fb0 Add the create modal, a route, a handler to create a article.
1 year ago
KKlochko 20ed9e09dc Add a feature to preview a article for the admin panel.
1 year ago
KKlochko f78df3d232 Add the routes and handlers for the admin panel.
1 year ago
KKlochko 46f017d716 Add the handler factories for index and article pages.
1 year ago
KKlochko ff2ad7de9d Add the express-handlebars as a template engine.
1 year ago
KKlochko 5954224327 Add the db module with functions to create the connection.
1 year ago
KKlochko 39b8c633b0 Update to move server logic to the server module.
1 year ago