This is the complete code behind mattberti.com, a personal web site mostly focused on a portfolio and blog. I am providing this as open source because I wanted to share my code to others.
- Javascript
- React
- Next.js
- Sass
To get this app running on your local machine:
- Clone this repository
- Install website dependencies by running
npm install
- Run the development server:
npm run dev
- Build for deployment:
npm run build
Note the current build setting utilizes Next.js static export. To run this app on a server, use next build
.
Posts within the posts
directory are automatically generated as blog posts. To add a new post, manually create a new markdown file, or use the shortcut script: npm run newpost
.
Feel free to file a PR if you want to help improve this project. :)