This repository contains the code for my new personal website, built using Next.js and React. The live website is available at jamesg.app.
This repository uses the following technologies:
To get started with this project, follow the instructions below.
git clone https://github.com/jamesgallagher432/jamesg-website
npm run setup
npm run build
npm run dev
The application will be served at: http://localhost:3000
This project uses plop to generate blog post and research files.
To run the generators associated with this project, run:
npm run generate
The two generator options you will be presented with are: blog post or research post. After selecting an option, you will be prompted to insert the values to be included in the type of post you are creating.
Before you run this project, you should build the site schema using
node createSchema.js. This script is used to create a JSON schema which will be served by the NextJS server and read by the client to retrieve a list of blog posts and research posts.
This project is based on the Grommet create-next-app example.