This is my personal portfolio website. It is a full-stack application, with both the frontend and backend built using NextJS. You can view the demo https://mujtabacodes.com
- NextJS
- ReactJS
- Typescript
- TailwindCSS
- Prisma
- PostgreSQL
- Docker
First, clone the repository and install the dependencies:
git clone https://github.com/mujtabacodes/Portfolio-Next.git
yarn install
# or
npm install
Then, change .env.example to .env and put the actual database URL. For the initial stage, you can use Neon
npx prisma migrate
# then
npx prisma generate
Start the development server:
yarn dev
# or
npm run dev
Note: Feel free to use pnpm or bun
- First review docker file and if yarn is not globally install then comment line '5'
Then create Docker image:
docker build -t portfolio-next .
Run container:
docker run -p 3000:3000 portfolio-next