cv-react
Source code for my online CV
Overview
This codebase contains the source for my online CV: cv.mattcalthrop.com.
It uses the following features:
- React for building the UI
- MUI CSS for the design framework
- Contentful for hosting the content
- Yarn for dependency management
- Prettier for code formatting
- Husky for git commit hooks
- Heroku for deployment and hosting
You can fork this repo, and run it locally yourself. Following are instructions for setting it up and running it.
Setup
Install yarn
Follow the instructions here:
Install NodeJS packages
Install the NodeJS packages:
$ yarnRunning the app
During development
$ yarn startThis will open a web browser at this URL:
Tests
All
To run all tests:
$ yarn testCode formatting
Check the
.prettierrcfile for the Prettier rules.
The formatting of the JavaScript source code can be checked as follows:
$ yarn prettier:checkAnd to auto-correct any errors that can be corrected:
$ yarn prettier:fix