{"id":14962206,"url":"https://github.com/hugodf/express-server-render-starter","last_synced_at":"2025-10-24T22:32:05.903Z","repository":{"id":40705650,"uuid":"192183903","full_name":"HugoDF/express-server-render-starter","owner":"HugoDF","description":"Starter app for server rendered Express applications using TailwindCSS, Nunjucks and Postgres","archived":false,"fork":false,"pushed_at":"2023-01-06T02:59:07.000Z","size":761,"stargazers_count":2,"open_issues_count":10,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-07T03:51:16.566Z","etag":null,"topics":["express","express-session","nunjucks","nunjucks-starter-kit","postgres","tailwind-scaffolding","tailwindcss"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/HugoDF.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-06-16T11:37:21.000Z","updated_at":"2022-05-05T10:19:45.000Z","dependencies_parsed_at":"2023-02-05T04:16:10.663Z","dependency_job_id":null,"html_url":"https://github.com/HugoDF/express-server-render-starter","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":"HugoDF/express-nunjucks-tailwind","purl":"pkg:github/HugoDF/express-server-render-starter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HugoDF%2Fexpress-server-render-starter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HugoDF%2Fexpress-server-render-starter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HugoDF%2Fexpress-server-render-starter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HugoDF%2Fexpress-server-render-starter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HugoDF","download_url":"https://codeload.github.com/HugoDF/express-server-render-starter/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HugoDF%2Fexpress-server-render-starter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280878369,"owners_count":26406641,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-24T02:00:06.418Z","response_time":73,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["express","express-session","nunjucks","nunjucks-starter-kit","postgres","tailwind-scaffolding","tailwindcss"],"created_at":"2024-09-24T13:29:42.648Z","updated_at":"2025-10-24T22:32:05.512Z","avatar_url":"https://github.com/HugoDF.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Express Server-Render Starter\n\n\u003e A starter project for server-rendered Express applications using Nunjucks, TailwindCSS and Postgres\n\n## Setup\n\nPre-requisites:\n\n- Docker for Desktop\n\nRun `docker-compose up` in the root of the project.\n\nIt will bring up Postgres and the Express application server in development mode.\n\nIt binds the application server to `localhost:3000`, this can be re-mapped this by changing the first 3000 in `3000:3000` of [./docker-compose.yaml](./docker-compose.yaml)).\n\nThe default Docker `CMD` is `npm start`, [./docker-compose.yaml](./docker-compose.yaml) overrides this to `npm run dev` which runs the application using nodemon (auto-restart on file change).\n\n\n## Express setup\n\nThe Express \"page\" resources are located in [./src/pages](./src/pages).\n\nTheir corresponding Nunjucks templates are in [./src/views](./src/views).\n\nApplications routes for pages are defined in [./src/router.js](./src/router.js).\n\nGlobal concerns like security, cookie parsing, body parsing and request logging are handled in [./server.js](./server.js).\n\nThis application loosely follows the [Presentation Domain Data Layering](https://www.martinfowler.com/bliki/PresentationDomainDataLayering.html):\n\n- Presentation is dealt with in the `./src/pages` folder\n- Domain is dealt with in the `./src/modules` folder.\n- Persistence is dealt with in the `./src/persistence` folder.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhugodf%2Fexpress-server-render-starter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhugodf%2Fexpress-server-render-starter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhugodf%2Fexpress-server-render-starter/lists"}