{"id":16222175,"url":"https://github.com/hugodf/express-nunjucks-tailwind","last_synced_at":"2025-03-19T11:31:20.267Z","repository":{"id":42209085,"uuid":"184337401","full_name":"HugoDF/express-nunjucks-tailwind","owner":"HugoDF","description":"A starter project with Express, Nunjucks and TailwindCSS","archived":false,"fork":false,"pushed_at":"2023-01-07T04:37:50.000Z","size":753,"stargazers_count":7,"open_issues_count":10,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-28T18:33:57.612Z","etag":null,"topics":["docker","docker-compose","nodejs","nodejs-server","nunjucks","nunjucks-starter-kit","tailwind-applications","tailwindcss","yarn"],"latest_commit_sha":null,"homepage":null,"language":"HTML","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-04-30T22:01:51.000Z","updated_at":"2024-10-12T15:18:07.000Z","dependencies_parsed_at":"2023-02-06T12:01:09.472Z","dependency_job_id":null,"html_url":"https://github.com/HugoDF/express-nunjucks-tailwind","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HugoDF%2Fexpress-nunjucks-tailwind","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HugoDF%2Fexpress-nunjucks-tailwind/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HugoDF%2Fexpress-nunjucks-tailwind/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HugoDF%2Fexpress-nunjucks-tailwind/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HugoDF","download_url":"https://codeload.github.com/HugoDF/express-nunjucks-tailwind/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243989109,"owners_count":20379648,"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","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":["docker","docker-compose","nodejs","nodejs-server","nunjucks","nunjucks-starter-kit","tailwind-applications","tailwindcss","yarn"],"created_at":"2024-10-10T12:11:35.324Z","updated_at":"2025-03-19T11:31:19.711Z","avatar_url":"https://github.com/HugoDF.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Express Nunjucks TailwindCSS \n\n\u003e A starter project with Express, Nunjucks and TailwindCSS\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- Data Presentation is dealt with in the `./src/pages` folder\n- Domain is dealt with in the `./src/modules` folder.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhugodf%2Fexpress-nunjucks-tailwind","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhugodf%2Fexpress-nunjucks-tailwind","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhugodf%2Fexpress-nunjucks-tailwind/lists"}