Skip to content

Unnunoctio/portfolio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

163 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Portfolio Project

A personal portfolio website built with a modern tech stack, featuring a dynamic frontend and a headless CMS for content management.

Tech Stack

This project is organized into two main parts:

Frontend (/frontend)

Studio (/studio)

  • CMS: Sanity.io - Unified Content Platform.
  • Framework: React-based Sanity Studio.

Project Structure

  • frontend/: Contains the Astro application code.
  • studio/: Contains the Sanity Studio configuration and schemas.

Getting Started

Prerequisites

  • Node.js (v18 or later recommended)
  • npm or yarn

Installation

  1. Clone the repository:

    git clone <your-repository-url>
    cd portfolio
  2. Install Frontend Dependencies:

    cd frontend
    npm install
  3. Install Studio Dependencies:

    cd ../studio
    npm install

Development

You can run both the frontend and the studio concurrently or separately.

Running the Frontend

Navigate to the frontend directory and start the dev server:

cd frontend
npm run dev

The site will be available at http://localhost:4321.

Running the Studio

Navigate to the studio directory and start the Sanity Studio:

cd studio
npm run dev

The studio will be available at http://localhost:3333.

Environment Variables

You will need to set up environment variables for the frontend to connect to Sanity. Create a .env file in the frontend directory:

PUBLIC_SANITY_PROJECT_ID=your_project_id
PUBLIC_SANITY_DATASET=production

Deployment

Frontend

The frontend is configured for deployment on Vercel. Connect your repository to Vercel and it should detect the Astro settings automatically.

Studio

To deploy the Sanity Studio:

cd studio
npm run deploy

About

Portfolio created with the purpose of showcasing both my skills and my projects. The projects and the contributions calendar are updated automatically via the GitHub API.

Topics

Resources

License

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Contributors