Latest news about Bitcoin and all cryptocurrencies. Your daily crypto news habit.
Check out this website boilerplate built on Next.js and Cosmic JS. It satisfies some common website requirements including dynamic pages, blog articles, author management, SEO ability, contact form and website search.
TL;DR
Download the Next.js Website Boilerplate GitHub repo.Check out the demo.
Features
1. Fully responsive down to mobile w/ Bootstrap frontend2. SEO ready3. A contact form that sends an email to your email(s) of choice and to Cosmic JS for easy reference4. Full-site search functionality5. All content is easily managed in Cosmic JS including pages, blog and contact info. Sign up for Cosmic JS to install the demo content and deploy this website.
Get started
git clone https://github.com/cosmicjs/nextjs-website-boilerplatecd medical-professional-next-js npm install
Import the bucket.json file into your Cosmic JS Bucket. To do this go to Your Bucket > Settings > Import / Export Data. Or install the app via the Next.js Website App page.
Run in production
COSMIC_BUCKET=your-bucket-slug npm start
Go to http://localhost:3000
Run in development
npm run dev
Go to http://localhost:5000.
Configure
Contact email Because Next.js doesn’t have a mail server, the contact form uses mailgun to send the email. So add the following constants in the config file.
Next.js Website Boilerplate was originally published in Hacker Noon on Medium, where people are continuing the conversation by highlighting and responding to this story.
Disclaimer
The views and opinions expressed in this article are solely those of the authors and do not reflect the views of Bitcoin Insider. Every investment and trading move involves risk - this is especially true for cryptocurrencies given their volatility. We strongly advise our readers to conduct their own research when making a decision.