This is a simple, markdown-powered website for posting reviews of Diet Cokes at restaurants.
It is hosted on Vercel here: https://dietcoke.reviews
It is largely based on this project: https://github.com/rebelchris/next-markdown-blog.
First, run the development server:
npm run dev
Open http://localhost:3000 with your browser to see the result.
- Add a new markdown file in the
posts
directory (e.g.,restaurant_name.md
). - Add the review image to the
public/images
directory. - In the markdown files, fill in the following metadata fields
---
title: 'Restaurant name'
location: 'location'
media:
- mediaType: "img"
path: images/img1
- ...
rating: rating (0 to 5 with 0.5 increments)
date: 'YYYY-MM-DD'
tags:
- tag 1
- tag 2
- ...
---
- Write review text below the metadata section
- Reload page
The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.
Check out our Next.js deployment documentation for more details.