Skip to content

cedarbaum/diet-coke-reviews

 
 

Repository files navigation

Diet Coke reviews 🥤

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.

Getting Started

First, run the development server:

npm run dev

Open http://localhost:3000 with your browser to see the result.

Adding a review

  1. Add a new markdown file in the posts directory (e.g., restaurant_name.md).
  2. Add the review image to the public/images directory.
  3. 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
  - ...
---
  1. Write review text below the metadata section
  2. Reload page

Deploy on Vercel

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.

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 97.1%
  • CSS 2.9%