enjidev / enji.dev

a monorepo for my personal website and projects, built with Turborepo + pnpm šŸ“š
https://enji.dev
474 stars 98 forks source link
mdx monorepo nextjs nextjs-blog personal-blog personal-website portfolio tailwindcss turborepo typescript

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.

https://user-images.githubusercontent.com/95107212/210668021-fd49431f-85a3-4bd7-bf9e-09639cb38922.mp4

Tech Stack

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!