Business website for Quinn Bonnett, Registered Massage Therapist.
https://stately-fudge-86cfc6.netlify.app/
- Gatsby
- React
- TypeScript
- Tailwind
- gatsby-source-sanity
- animate.css
- react-animation-on-scroll
- react-icons
- react-smooth-collapse
- focus-trap-react
In order to run this application locally, you must have node installed on your computer. To check if you already have it installed, enter node -v
in your terminal. If you do not have node, you can install it here: https://nodejs.org/en/
Once you have confirmed that node is installed, cd
into a folder on your computer and run the following command to clone the repository:
git clone https://github.com/LucasSilbernagel/quinn-rmt.git
Then cd
into the project folder and open it in your code editor. For Visual Studio Code:
cd quinn-rmt
code .
To install all of the required dependencies, run npm install
.
- To start up the app locally, run
npm start
in your terminal. Your terminal should indicate alocalhost
URL at which you can view the app in your browser. - To add and edit content in Sanity Studio,
cd
into thestudio
folder, runnpm run dev
, and visit http://localhost:3333/content/desk/homepage.- Note that you won't have access to sign into my Sanity studio, you will have to generate your own project ID:
- Visit https://www.sanity.io/ and create an account if you don't already have one.
- Follow the instructions to create a new project and make a note of the project ID.
- In your code editor, search for
projectId
and replace the value there with your own Sanity project ID. This should be done in three files:sanity.cli.ts
,sanity.config.ts
, andgatsby-config.ts
.
- Note that you won't have access to sign into my Sanity studio, you will have to generate your own project ID:
Unit tests are written with Jest and react-testing-library.
Use npm test
to run all unit tests, or use npm test SomeFileToRun
to run a specific test file.