This is a Next.js portfolio project showcasing my work and skills. It is built using Next.js, a powerful and flexible React framework for building modern web applications.
- Features
- Technologies Used
- Getting Started
- Usage
- Deployment
- Responsive design for seamless viewing on various devices.
- Fast and optimized performance with server-side rendering (SSR) capabilities of Next.js.
- SEO-friendly for improved visibility in search engines.
- Easy customization and extension with Next.js's modular architecture.
- Next.js - A React framework for building server-rendered applications.
- React - A JavaScript library for building user interfaces.
- Tailwind CSS - Allows CSS styling.
- Markdown - Lightweight markup language for formatting text.
- GitHub API - Retrieves project data from GitHub.
- Deploy to Vercel - Seamless deployment and hosting platform.
Follow the steps below to get the portfolio up and running on your local machine:
- Clone the repository:
- Navigate to the project directory:
- Install the dependecies
npm i
- Open the config.js file and modify the configuration options according to your preferences. Update the githubUsername with your GitHub username to fetch your project data.
npm run dev
The portfolio will be available at http://localhost:3000.
To deploy the portfolio to Vercel, follow these steps:
- Create a Vercel account at https://vercel.com/signup if you don't already have one.
- upload the project to github
- Connect your github to the vercel platform.
- Make a change and push new code to github, project will be automatically deployed
To build and push the portfolio as a Docker image to GitHub Container Registry (GHCR) under ghcr.io/louismuriuki/portfolio:latest
, follow these steps:
From your project root directory, build the Docker image:
```bash```` docker build -t ghcr.io/louismuriuki/portfolio:latest . 2. Authenticate Docker with GHCR If your GitHub token is not already valid for authentication, generate a new token:
Go to your GitHub account Settings. Generate a new token with the following permissions: write:packages read:packages delete:packages Use the token to log in to GHCR:
echo YOUR_GITHUB_TOKEN | docker login ghcr.io -u YOUR_GITHUB_USERNAME --password-stdin
docker push ghcr.io/louismuriuki/portfolio:latest
Feel free to modify and customize it to suit your needs.
Thank you for checking out my Next.js portfolio project! If you have any questions or suggestions, feel free to reach out. Happy coding!