/lilly-cafe

Primary LanguageTypeScriptMIT LicenseMIT

Netlify Status

A Next.js typescript example website built for Lilly's Asian Cafe with the JAMstack

Usage

Development

.env file required with Google Maps API Key:

GOOGLE_MAPS_API_KEY=

While developing your website, use:

npm start:dev

Or with docker:

npm run docker-build
npm run docker-start
npm run docker-stop

Using the image directly:

docker pull skow0020/lillys:latest
docker run -p 3000:3000 skow0020/lillys:latest

Then visit http://localhost:3000/ to preview your new website. The Next.js development server will automatically reload the CSS or refresh the whole page, when stylesheets or content changes.

Static build

To build a static version of the website inside the /dist folder, run:

npm run build

See package.json for all tasks.

Basic Concepts

You can read more about building sites and apps with Next.js in their documentation here:

https://nextjs.org/docs

Doing dynamic things

A few resources for doing anything you can imagine with a 100% static site/app on the JAMstack using Next.js. If you would like to add more resources please open a pull request!