KKlochko
|
9d2f940a07
|
Add the urls of main pages for navbar.
|
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
|
df371f50a6
|
Update templates to move the navbar to the main layout.
|
1 year ago |
KKlochko
|
65c8a49182
|
Update the navbar to highlight depend on the page.
|
1 year ago |
KKlochko
|
b79c1e4134
|
Add the separators between articles on the index page.
|
1 year ago |
KKlochko
|
76cd096f70
|
Add the lazy loading for articles on the index page.
|
1 year ago |
KKlochko
|
c24fce08f3
|
Update the queries to get articles in the order new first.
|
1 year ago |
KKlochko
|
9d7ec9888b
|
Add a helper to format an article's timestamp.
|
1 year ago |
KKlochko
|
cbc813924e
|
Update the article_row template to use helpers to make rows concise.
|
1 year ago |
KKlochko
|
9c0e888284
|
Add the helpers for timestamp and brief contents.
|
1 year ago |
KKlochko
|
5ce17d3aa8
|
Update the admin panel to show brief contents.
|
1 year ago |
KKlochko
|
72b9e604ca
|
Add functions to get an article or articles with the brief content.
|
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
|
657d58d15f
|
Update the admin panel to show the article counters.
|
1 year ago |
KKlochko
|
75b7d84806
|
Fix that a new article row added as element instead of a child.
|
1 year ago |
KKlochko
|
3bfe008326
|
Fix the dialog components won't toggle when a created row is added.
|
1 year ago |
KKlochko
|
94e2ff7609
|
Add a feature to delete an article for the admin panel.
|
1 year ago |
KKlochko
|
72cbb71d55
|
Add the delete-article to delete an article by the id.
|
1 year ago |
KKlochko
|
75a3f7737d
|
Add the date-fns as a dependency for date formating.
|
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
|
947381b229
|
Add the HTMX's head tag to the main layout.
|
1 year ago |
KKlochko
|
80ea6f85d8
|
Add templates for the admin panel.
|
1 year ago |
KKlochko
|
2b1ea5d806
|
Add function to insert a new article.
|
1 year ago |
KKlochko
|
46f017d716
|
Add the handler factories for index and article pages.
|
1 year ago |
KKlochko
|
bfef190c91
|
Update the get-article to return data as a cljs map without arrays.
|
1 year ago |
KKlochko
|
00895abe0c
|
Add views and partials for the index page and the article block.
|
1 year ago |
KKlochko
|
1abc086b29
|
Update the shadow-cljs config to move index.js to the project's root.
|
1 year ago |
KKlochko
|
ff2ad7de9d
|
Add the express-handlebars as a template engine.
|
1 year ago |
KKlochko
|
1ad0610f19
|
Add a function to get an article by id.
|
1 year ago |
KKlochko
|
c7223f0a00
|
Add the get-articles to read all articles.
|
1 year ago |
KKlochko
|
3b70a1a497
|
Add a function to create tables.
|
1 year ago |
KKlochko
|
5954224327
|
Add the db module with functions to create the connection.
|
1 year ago |
KKlochko
|
50521a8cc9
|
Add the environment variables for database credentials.
|
1 year ago |
KKlochko
|
af1e2adbc4
|
Add the pg as the postgres client to the dependencies.
|
1 year ago |
KKlochko
|
39b8c633b0
|
Update to move server logic to the server module.
|
1 year ago |
KKlochko
|
a092283cf2
|
Add the environment variables support.
|
1 year ago |
KKlochko
|
bd8d737758
|
Add the simple endpoint and the configuration.
|
1 year ago |
KKlochko
|
614bed7899
|
Add the express to the dependencies.
|
1 year ago |
KKlochko
|
99f13dd320
|
Project initialization.
|
1 year ago |