{"id":21169088,"url":"https://github.com/cosmicjs/nodejs-website-boilerplate","last_synced_at":"2025-04-13T11:48:03.157Z","repository":{"id":46654185,"uuid":"64186711","full_name":"cosmicjs/nodejs-website-boilerplate","owner":"cosmicjs","description":"A Node.js website boilerplate that satisfies some common website requirements.","archived":false,"fork":false,"pushed_at":"2024-10-18T15:49:51.000Z","size":1646,"stargazers_count":180,"open_issues_count":0,"forks_count":94,"subscribers_count":14,"default_branch":"master","last_synced_at":"2025-04-04T05:51:30.668Z","etag":null,"topics":["api","boilerplate","cms","cosmicjs","nodejs"],"latest_commit_sha":null,"homepage":"https://cosmicjs.com/apps/medical-professional","language":"Less","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/cosmicjs.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-07-26T03:27:12.000Z","updated_at":"2025-03-13T14:58:24.000Z","dependencies_parsed_at":"2025-01-15T15:24:42.464Z","dependency_job_id":null,"html_url":"https://github.com/cosmicjs/nodejs-website-boilerplate","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cosmicjs%2Fnodejs-website-boilerplate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cosmicjs%2Fnodejs-website-boilerplate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cosmicjs%2Fnodejs-website-boilerplate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cosmicjs%2Fnodejs-website-boilerplate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cosmicjs","download_url":"https://codeload.github.com/cosmicjs/nodejs-website-boilerplate/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248710409,"owners_count":21149186,"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":["api","boilerplate","cms","cosmicjs","nodejs"],"created_at":"2024-11-20T15:22:52.070Z","updated_at":"2025-04-13T11:48:03.137Z","avatar_url":"https://github.com/cosmicjs.png","language":"Less","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ⚠️ IMPORTANT\nThis template is no longer supported. Select from one of the available templates on the [Cosmic templates page](https://www.cosmicjs.com/templates).\n\n# Node.js Website Boilerplate\nA  website template that satisfies some common website requirements including dynamic pages, blog articles, author management, SEO ability, contact form and website search.  Content powered by [Cosmic JS](https://cosmicjs.com).  Contributions welcome!\n## Demo\n[Click here to view a demo website (Medical Professional)](https://cosmicjs.com/apps/medical-professional)\n## Features\n1. Fully responsive down to mobile w/ [Bootstrap](http://getbootstrap.com) frontend\u003cbr /\u003e\n2. SEO ready\u003cbr /\u003e\n3. A contact form that sends an email to your email(s) of choice and to [Cosmic JS](https://cosmicjs.com) for easy reference\u003cbr /\u003e\n4. Full-site search functionality\u003cbr /\u003e\n5. All content is easily managed in [Cosmic JS](https://cosmicjs.com) including pages, blog and contact info.\n\nSign up for [Cosmic JS](https://cosmicjs.com) to install the demo content and deploy this website.\n\n## Get started\n```\ngit clone https://github.com/cosmicjs/nodejs-website-boilerplate\ncd nodejs-website-boilerplate\nnpm install\n```\nImport the `bucket.json` file into your Cosmic JS Bucket.  To do this go to Your Bucket \u003e Settings \u003e Import / Export Data.\n\n\u003cimg src=\"https://cosmic-s3.imgix.net/44f0d590-0303-11e9-b4bb-b3fa3d766bf7-sendgrid.gif?w=1300\" width=\"700\" /\u003e\n\n### Run in production\n```\nCOSMIC_BUCKET=your-bucket-slug npm start\n```\nGo to [http://localhost:3000](http://localhost:3000).\n### Run in development\nCreate a `config/development.js` file and match it to `config/production.js` with your values.\n```\nnpm run development\n```\nGo to [http://localhost:5000](http://localhost:5000).\n\n## Contact form setup\nInstall and deploy the SendGrid Email Function.\n\n\u003cimg src=\"https://cosmic-s3.imgix.net/a07738c0-00d6-11e9-95fe-59d8fdd00c64-sendgrid-email.png?w=1500\" width=\"700\" /\u003e\n\nThe contact form on the contact page uses the [SendGrid Email Function](https://github.com/cosmicjs/send-email-function) to send emails. To deploy your email function go to Your Bucket \u003e Settings \u003e Functions. Install and deploy the SendGrid Function. You will need an account with [SendGrid](https://sendgrid.com/) to add your SendGrid API key.\n\n### Add the SendGrid Function Endpoint\n\n#### in development\nGo to `config/development.js` and edit `SENDGRID_FUNCTION_ENDPOINT` to manually add the URL for testing.\n\n#### in production\nIf you are using the Web Hosting option that's included with every Bucket:\n1. Go to Your Bucket \u003e Settings \u003e Web Hosting\n2. Deploy your Website\n3. Click 'Set Environment Variables' tab and add the SendGrid Function endpoint:\n\nKey | Value\n--- | ---\n| SENDGRID_FUNCTION_ENDPOINT     | https://your-lambda-endpoint.amazonaws.com/dev/send-email\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcosmicjs%2Fnodejs-website-boilerplate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcosmicjs%2Fnodejs-website-boilerplate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcosmicjs%2Fnodejs-website-boilerplate/lists"}