{"id":15726825,"url":"https://github.com/usulpro/nodeday.uk","last_synced_at":"2026-03-18T03:57:12.331Z","repository":{"id":82554310,"uuid":"243004929","full_name":"usulpro/NodeDay.uk","owner":"usulpro","description":null,"archived":false,"fork":false,"pushed_at":"2020-02-23T22:27:00.000Z","size":974,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-31T01:48:45.695Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/usulpro.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-02-25T13:21:51.000Z","updated_at":"2022-10-09T12:01:06.000Z","dependencies_parsed_at":"2023-03-12T16:10:03.884Z","dependency_job_id":null,"html_url":"https://github.com/usulpro/NodeDay.uk","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/usulpro/NodeDay.uk","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/usulpro%2FNodeDay.uk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/usulpro%2FNodeDay.uk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/usulpro%2FNodeDay.uk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/usulpro%2FNodeDay.uk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/usulpro","download_url":"https://codeload.github.com/usulpro/NodeDay.uk/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/usulpro%2FNodeDay.uk/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30646335,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-18T02:48:56.676Z","status":"ssl_error","status_checked_at":"2026-03-18T02:48:55.747Z","response_time":104,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2024-10-03T22:40:46.553Z","updated_at":"2026-03-18T03:57:12.314Z","avatar_url":"https://github.com/usulpro.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Node Day UK Conference Website\n\n## How to use\n\nClone this repo and then in command line type:\n\n* `nvm use` to switch node version\n* `npm install` or `yarn` - install all dependencies\n* `yarn start` - run dev-server and let magic happen, or\n* `yarn dev` - same but with mocked content from `content-log.json`\n* `gulp build` - build project from sources\n* `yarn storybook` - start Storybook locally (http://localhost:6006/)\n* `yarn test:watch` - run jest test in watch mode\n\nDeployed Storybook: https://gitnation.github.io/JSNation.com (with production credentials)\n\n--\n\n## Content Layer\n\nThere are follow data layers which is used for generating html pages:\n\n1. CMS layer\n2. Content layer\n3. Templates layer\n\n[1] Data is hosted on headless CMS and fetched via GraphQL API\n\nThis process is encapsulated in `@focus-reactive/graphql-content-layer` package\nTo configure the request the follow variables should be set:\n- `CMS_TOKEN` and `CMS_ENDPOINT` environment variables\n- `$conferenceTitle` and `$eventYear` GraphQL variables should be passed into `getContent()`\n- other conference specific options should be passed into `getContent()` (tagColors)\n\n[2] Received data will be processed and prepared for passing to template engine\n\nThe result will be logged to `content-log.json`.\n\n[3] Prepared data will be available during templates generation\n\nTemplates can have additional front-matter data. Note that:\n1. Front-matter data is isolated withing each template file\n2. Front-matter data will be overriden by data coming from [2] layer in case of same field names\n\n[3*] Mocked data\n\nrun `yarn dev` to skip [1] and [2] layers. Data will be taken from `content-log.json` file in this case.\n\n## List of Gulp tasks\n\nTo run separate task type in command line `gulp [task_name]`.\nAlmost all tasks also have watch mode - `gulp [task_name]:watch`, but you don't need to use it directly.\n\n### Main tasks\nTask name          | Description\n:------------------|:----------------------------------\n`default`          | will start all tasks required by project in dev mode: initial build, watch files, run server with livereload\n`build:dev`        | build dev version of project (without code optimizations)\n`build`            | build production-ready project (with code optimizations)\n\n### Other tasks\nTask name          | Description\n:------------------|:----------------------------------\n`sass` \t         | compile .sass/.scss to .css. We also use [postcss](https://github.com/postcss/postcss) for [autoprefixer](https://github.com/postcss/autoprefixer) and [Lost](https://github.com/peterramsing/lost), so feel free to include other awesome postcss [plugins](https://github.com/postcss/postcss#plugins) when needed\n`webpack`          | compile .js sources into bundle file\n`copy`             | copy common files from `./src` path to `./build` path\n`nunjucks`         | compile Mozilla's awesome [nunjucks](https://mozilla.github.io/nunjucks/) templates\n`svgo`             | optimize svg files with [svgo](https://github.com/svg/svgo)\n`sprite:svg`       | create svg symbol sprites ([css-tricks](https://css-tricks.com/svg-sprites-use-better-icon-fonts/))\n`sprite:png`       | create png sprites\n`server`           | run dev-server powered by [BrowserSync](https://www.browsersync.io/)\n`clean`            | remove `./build` folder\n`test`             | run snapshot test of compiled html pages\n\n_This is a full list of tasks, that we use in our projects, but not all of them should be available in current project. For example, we only use one template engine out of these three [`jade`, `nunjucks`, `swig`]. All available tasks are placed in a folder `./gulp/tasks` as separate *.js files. Usually, file name = task name._\n\n\n## Flags\n\nWe have several useful flags.\n\n* `gulp --open` or `gulp server --open` - run dev server and then open preview in browser\n* `gulp --tunnel=[name]` or `gulp server --tunnel [name]` - runs dev server and allows you to easily share a web service on your local development machine (powered by [localtunnel.me](https://localtunnel.me/)). Your local site will be available at `[name].localtunnel.me`.\n* `gulp [task_name] --prod` or `gulp [task_name] --production` - run task in production mode. Some of the tasks (like, sass or js compilation) have additional settings for production mode (such as code minification), so with this flag you can force production mode. `gulp build` uses this mode by default.\n\n## Other\nYou can also use [npm scripts](https://docs.npmjs.com/misc/scripts):\n\n* `npm run start` - same as `gulp default`.\n* `npm run build` - same as `gulp build`.\n* `npm run ghpages` to push only `./build` folder to **gh-pages** branch on github (very useful for previews).\n* `npm run lint` - linting javascript with **eslint**.\n* `npm run lint-fix` - fix as many issues as possible relatives to **eslint** settings.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fusulpro%2Fnodeday.uk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fusulpro%2Fnodeday.uk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fusulpro%2Fnodeday.uk/lists"}