A website template that satisfies some common website requirements including dynamic pages, blog articles, author management, SEO ability, contact form and website search. Contributions welcome!
- Fully responsive down to mobile w/ Bootstrap frontend
- SEO ready
- A contact form that sends an email to your email(s) of choice and to Cosmic JS for easy reference
- Full-site search functionality
- 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.
git clone https://github.com/cosmicjs/nodejs-website-boilerplate
cd nuxtjs-website-boilerplate
npm install
# Run in development and serve at localhost:3000
npm run dev
# build for production
npm run build
# Run in production and serve at localhost:3000
COSMIC_BUCKET=your-bucket-slug npm start
After you deploy your app, to add your MailGun credentials go to your Cosmic Bucket Dashboard and click Settings > Deploy Web App. Click 'Set Environment Variables' tab and add the following variables:
Key | Value |
---|---|
MAILGUN_KEY | your key |
MAILGUN_DOMAIN | your domain |