My professional minimalist portfolio!
My professional minimalist portfolio made with Next.js, bootstrapped with create-next-app, powered by ▲Vercel!
/
├── public/
│ ├── fonts/
│ │ └── *.woff2
│ ├── icons/
│ │ ├── .../
│ │ │ └── *.svg
│ │ └── *.svg
│ ├── images/
│ │ ├── .../
│ │ │ └── *.png
│ │ └── *.jpg
│ └── favicon.ico
├── src/
│ ├── app/
│ │ ├── api/
│ │ │ └── send/
│ │ │ └── route.js
│ │ ├── layout.jsx
│ │ └── page.jsx
│ ├── components/
│ │ ├── context/
│ │ │ └── .../
│ │ │ └── *.jsx
│ │ ├── layout/
│ │ │ └── .../
│ │ │ └── *.jsx
│ │ ├── sections/
│ │ │ └── .../
│ │ │ └── *.jsx
│ ├── styles/
│ │ └── *.css
│ └── translations/
│ └── *.json
├── .env
├── docker-compose.yaml
├── Dockerfile
├── jsconfig.json
├── next.config.mjs
├── package-lock.json
└── package.json
Open your directory where you save your repositories and clone it with the following command:
# From GitHub
git clone https://github.com/FJrodafo/Portfolio.git
This project needs a .env file based on .env.example with your environment variables related to your email service (Make sure you have an Resend account created, you can create one in the Resend official website):
RESEND_API_KEY=your_resend_api_key
Important
This same environment variable must be configured in the Vercel website if the application is to be deployed on that service.
As well, this project must be initialized and the necessary dependencies installed with the following command:
npm install
If you have Node v22.14 or higher installed on your machine, then you are good to go!
To check if you already have Node installed on your machine, run node -v in your terminal. Otherwise, you will need to install Node v22.14 or higher or, as a last option, check out the Docker alternative.
Finally, if you have Node installed, type the following command to run the development server:
npm run dev
# Press 'Ctrl + C' to exit
Open http://localhost:3000 in your favorite browser to see the result (The page auto-updates as you edit the project files).
This project can be run using Docker without installing Node.js locally.
You can find a Docker image of this project ready to be pulled on GitHub Packages or Docker Hub website!
Pull the image with the following commands:
# Docker Hub
docker pull fjrodafo/portfolio:1.0.0
# GitHub Packages
docker pull ghcr.io/fjrodafo/portfolio:1.0.0
Caution
Do not include a
.envfile in the Docker image. Environment variables, such asRESEND_API_KEY, must be provided at runtime.
Make sure to create and configurate the .env file correctly with your environment variables (This file is used only at runtime, is ignored by Git and Docker, and is not included in the image):
RESEND_API_KEY=****
Build the container:
docker compose build
Run the container:
docker compose up -d
Stop the container:
docker compose down
Open http://localhost:3000 in your favorite browser to see the result.
Important
If you already have applications that use port 3000, you will need to change the host port before creating the Docker container so that it can run correctly on a free port.
If you prefer not to use Docker Compose, you can build and run the image manually.
If you don't have Node v22.14 or higher installed on your machine, you can build a Docker image by running the Dockerfile.
Open a terminal and run the following command:
docker build -t portfolio .
After the build completes, you can run your container with the following command:
docker run -dp 3000:3000 --env-file .env portfolio
You can even specify the environment variable value directly with the following command:
docker run -dp 3000:3000 -e RESEND_API_KEY=your_resend_api_key portfolio
Open http://localhost:3000 in your favorite browser to see the result.
Important
If you already have applications that use port 3000, you will need to change the host port before creating the Docker container so that it can run correctly on a free port.
To learn more about Next.js, take a look at the following resources:
You can check out the Next.js GitHub repository - your feedback and contributions are welcome!
The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.
Check out our Next.js deployment documentation for more details.
Icons from Boxicons and IconScout.
Content type
Image
Digest
sha256:d7f86e8d9…
Size
235.5 MB
Last updated
7 months ago
docker pull fjrodafo/portfolio:1.0.0