/nextjs-porto-enjidev

a monorepo for my personal website and projects, built with Turborepo + pnpm ๐Ÿ“š

Primary LanguageTypeScript

Enji Kusnadi ยท

A monorepo for my personal website and projects, built with Turborepo and pnpm.

๐Ÿ“˜ enji.dev

A personal website with a blog, project showcase, and work information.

preview.mp4

Tech Stack

  • ๐Ÿš€ Next.js + TypeScript
  • โžฐ Framer Motion
  • ๐Ÿƒ Tailwind CSS
  • โœ MDX

Running the Project

To get started, I recommend installing pnpm since it's the package manager used in this repository.

Begin by forking the repository and then cloning it to your local machine:

git clone <your-fork>

Navigate to the project's root directory:

cd ./enji.dev

Next, copy the development version of the env file:

cp ./apps/enji.dev/env.example ./apps/enji.dev/env.local

Now, you have the env.local file ready for configuration:

DATABASE_URL = your-database-connection-string
SALT_IP_ADDRESS = super-secret

For the DATABASE_URL use your database connection string. I personally use the free version of MongoDB, and you can do the same by creating a database there and adding the connection string to the env.local.

As for SALT_IP_ADDRESS, feel free to fill it with some of your secret words. It acts as a salt for hashing users' IP addresses.

Once configuration is complete, still at the root of the project directory, install the required dependencies:

pnpm install

Finally, run the project:

pnpm dev

Now, your project should be up and running smoothly!