Skip to content

LucasSilbernagel/portolio-2.0

Repository files navigation

Portfolio 2.0

The second iteration of my software development portfolio.

Screen Shot 2024-03-14 at 15 58 33

Live link

https://meek-cannoli-5408ac.netlify.app/

Tech stack

Front End

Content Management

Linting & Formatting

Run Locally

Prerequisites

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/

Clone the repository

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/portfolio-2.0.git

Then cd into the project folder and open it in your code editor. For Visual Studio Code:

cd portfolio-2.0 code .

Environment variables

Create a Formspark ID for the website contact form. In the project codebase, create a .env.production file and a .env.development file. In each file, add GATSBY_FORMSPARK_ID=your_formspark_id.

Install dependencies

To install all of the required dependencies, run npm install.

Start up the app

  • To start up the app locally, run npm start in your terminal. Your terminal should indicate a localhost URL at which you can view the app in your browser.
  • To add and edit content in Sanity Studio, cd into the studio folder, run npm 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, and gatsby-config.ts.

Testing

Unit Tests

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.

Design inspiration

About

Web development portfolio for Lucas Silbernagel

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published