Skip to content
/ example-web Public template

Example website built on Grind/ExpressJS

License

Notifications You must be signed in to change notification settings

grindjs/example-web

Repository files navigation

Grind Template Web

Latest Version Slack License

Grind Web Template

The Grind Web Template is an example project for building multipage websites on Grind. It’s also used as the default template in Grind Toolkit so you can quickly setup a new web project.

Installation

git clone https://github.com/grindjs/example-web.git grind-example-web
cd grind-example-web
yarn install

Running

# Use `watch` to automatically restart the server on file changes
# Watch is recommended for development
yarn cli watch

# Use `serve --cluster` to launch a cluster of workers
# Cluster is recommended for production
yarn cli serve --cluster

# Use `serve` to launch a single worker
yarn cli serve

You should now be able to visit localhost:3100.

Documentation

Full documentation for Grind is available on the Grind website.

License

Grind was created by Shaun Harrison and is made available under the MIT license.