Skip to content

Latest commit

 

History

History

client

Client

This directory contains the code for the web app. The project is set up with create-react-app, uses styled components for styling and @sanity/client to fetch content from the Sanity API.

To get started, run the following commands in this directory:

  1. $ npm install
  2. $ npm start

npm start shoud automatically open localhost:3000 in a new browser tab, and hot reload whenever you make changes to the source code (in src/).

If you haven't gone through the setup in the sanity directory yet, localhost:3000 should show the CV for Arne Mæhlum.

Host with Firebase Hosting

If you want to host your web app online, there are many ways to do it. I have used Firebase Hosting. It is free and pretty easy to get started with.