Skip to content

jopesh/homepage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

johnschmidt.de

My personal blog and homepage.

Technology

Repository overview

  • /web - Next.js application folder
    • /web/lib - API to fetch data from Sanity
    • /web/next-sitemap.js - Configuration for the next-sitemap package to autogenerate sitemaps
    • /web/api/views - API route to return current view counter based on Plausible Analytics data
  • /studio - Sanity Studio folder

Running locally

You need the @sanity/cli package to work with the Sanity Studio locally! More information here.

  1. Clone the repository git clone https://github.com/jopesh/homepage.git
  2. Go to your newly created folder cd homepage
  3. Set up your enviroment variables in the /web and /studio folder as described in the corresponding .env.example files
  4. Install the packages with npm install in /web and sanity install in /studio
  5. Start your development enviroment with npm run dev in /web and sanity start in /studio (You could also set-up something like concurrently to parallelize these tasks)

About

My personal homepage built with ⚡️ Next.js, 📚 Sanity.io and💄 Tailwind CSS

Topics

Resources

Stars

Watchers

Forks