Giter VIP home page Giter VIP logo

enji.dev's Introduction

Enji Kusnadi ·

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

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!

enji.dev's People

Contributors

clay-curry avatar enjidev avatar renovate[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

enji.dev's Issues

eror pnpm run build

enji.dev:db:generate: > [email protected] db:generate /root/por/apps/enji.dev
enji.dev:db:generate: > prisma generate
enji.dev:db:generate:
remark-plugins:build:
remark-plugins:build: > [email protected] build /root/por/packages/remark-plugins
remark-plugins:build: > tsup --env.NODE_ENV production
remark-plugins:build:
enji.dev:db:generate: sh: 1: prisma: not found
enji.dev:db:generate:  ELIFECYCLE  Command failed.
enji.dev:db:generate:  WARN  Local package.json exists, but node_modules missing, did you mean to install?
remark-plugins:build: sh: 1: tsup: not found
remark-plugins:build:  ELIFECYCLE  Command failed.
remark-plugins:build:  WARN  Local package.json exists, but node_modules missing, did you mean to install?
enji.dev:db:generate: ERROR: command finished with error: command (/root/por/apps/enji.dev) /root/.nvm/versions/node/v18.10.0/bin/pnpm run db:generate exited (1)
enji.dev#db:generate: command (/root/por/apps/enji.dev) /root/.nvm/versions/node/v18.10.0/bin/pnpm run db:generate exited (1)

Tasks: 0 successful, 3 total
Cached: 0 cached, 3 total
Time: 2.564s
Failed: enji.dev#db:generate

ERROR run failed: command exited (1)
 ELIFECYCLE  Command failed with exit code 1.
root@host:~/por#

May I use this template for my personal website?

Hello, may I use this template for my personal website? As of now, I am an Android developer but currently learning React.js & Next.js. I am very interested in using this template as a place to share my knowledge about Android and web programming.

Read me file start app

Hey,
First of all thank you for your incredible commit you putted into this fantastic website !

Could you make a read me file, describing how to start the app, for us that aren't familiar with next JS framework ?

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Rate-Limited

These updates are currently rate-limited. Click on a checkbox below to force their creation now.

  • chore(deps): update dependency @types/mdx to v2.0.13
  • chore(deps): update dependency @types/slug to v5.0.8
  • chore(deps): update dependency autoprefixer to v10.4.19
  • chore(deps): update dependency next-sitemap to v3.1.55
  • chore(deps): update dependency postcss to v8.4.39
  • chore(deps): update dependency prettier to v2.8.8
  • chore(deps): update dependency typescript to v4.9.5
  • fix(deps): update dependency @headlessui/react to v1.7.19
  • fix(deps): update dependency dayjs to v1.11.11
  • fix(deps): update dependency jsonata to v2.0.5
  • fix(deps): update dependency react-hot-toast to v2.4.1
  • fix(deps): update dependency slug to v8.2.3
  • fix(deps): update dependency unist-util-visit to v4.1.2
  • chore(deps): update dependency @types/lodash to v4.17.7
  • chore(deps): update dependency eslint to v8.57.0
  • chore(deps): update dependency eslint-config-airbnb-typescript to v17.1.0
  • chore(deps): update dependency tailwindcss to v3.4.6
  • chore(deps): update dependency tsup to v6.7.0
  • chore(deps): update react monorepo (@types/react, @types/react-dom, eslint-plugin-react-hooks, react, react-dom)
  • chore(deps): update typescript-eslint monorepo to v5.62.0 (@typescript-eslint/eslint-plugin, @typescript-eslint/parser)
  • fix(deps): update dependency acorn to v8.12.1
  • fix(deps): update dependency axios to v1.7.2
  • fix(deps): update dependency eslint-config-prettier to v8.10.0
  • fix(deps): update dependency eslint-plugin-import to v2.29.1
  • fix(deps): update dependency eslint-plugin-jsx-a11y to v6.9.0
  • fix(deps): update dependency eslint-plugin-react to v7.34.4
  • fix(deps): update dependency rehype-prism-plus to v1.6.3
  • fix(deps): update dependency swr to v2.2.5
  • fix(deps): update dependency use-local-storage-state to v18.3.3
  • fix(deps): update dependency zod to v3.23.8
  • fix(deps): update mdx monorepo to v2.3.0 (@mdx-js/loader, @mdx-js/react)
  • fix(deps): update nextjs monorepo (@next/bundle-analyzer, @next/eslint-plugin-next, @next/font, @next/mdx, @next/third-parties, next)
  • fix(deps): update prisma monorepo to v4.16.2 (@prisma/client, prisma)
  • chore(deps): update dependency eslint-config-airbnb-typescript to v18
  • chore(deps): update dependency eslint-plugin-simple-import-sort to v12
  • chore(deps): update dependency postcss-import to v16
  • chore(deps): update dependency prettier to v3
  • chore(deps): update dependency tsup to v8
  • chore(deps): update dependency unified to v11
  • chore(deps): update node.js to v20 (node, @types/node)
  • chore(deps): update pnpm to v9
  • chore(deps): update typescript-eslint monorepo to v7 (major) (@typescript-eslint/eslint-plugin, @typescript-eslint/parser)
  • fix(deps): update dependency @headlessui/react to v2
  • fix(deps): update dependency clsx to v2
  • fix(deps): update dependency eslint-config-prettier to v9
  • fix(deps): update dependency rehype-prism-plus to v2
  • fix(deps): update dependency slug to v9
  • fix(deps): update dependency unist-util-visit to v5
  • fix(deps): update dependency use-local-storage-state to v19
  • fix(deps): update mdx monorepo to v3 (major) (@mdx-js/loader, @mdx-js/react)
  • fix(deps): update nextjs monorepo to v14 (major) (@next/bundle-analyzer, @next/eslint-plugin-next, @next/font, @next/mdx, next)
  • fix(deps): update prisma monorepo to v5 (major) (@prisma/client, prisma)
  • fix(deps): update remark (major) (remark-frontmatter, remark-gfm)
  • 🔐 Create all rate-limited PRs at once 🔐

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

npm
apps/enji.dev/package.json
  • @headlessui/react ^1.7.7
  • @headlessui/tailwindcss ^0.1.2
  • @mdx-js/loader ^2.2.1
  • @mdx-js/react ^2.2.1
  • @next/bundle-analyzer ^13.1.1
  • @next/font ^13.1.1
  • @next/mdx ^13.1.1
  • @next/third-parties ^14.1.3
  • @prisma/client ^4.8.1
  • @vercel/og ^0.0.22
  • axios ^1.2.2
  • clsx ^1.2.1
  • dayjs ^1.11.7
  • front-matter ^4.0.2
  • jsonata ^2.0.1
  • lodash ^4.17.21
  • next ^13.1.1
  • next-themes ^0.2.1
  • react ^18.2.0
  • react-dom ^18.2.0
  • react-hot-toast ^2.4.0
  • slug ^8.2.2
  • swr ^2.0.0
  • tailwindcss-accent ^2.1.2
  • use-local-storage-state ^18.1.2
  • zod ^3.20.2
  • @types/lodash ^4.14.191
  • @types/mdx ^2.0.3
  • @types/node 18.11.18
  • @types/react ^18.0.26
  • @types/react-dom ^18.0.10
  • @types/slug ^5.0.3
  • autoprefixer ^10.4.13
  • concurrently ^7.6.0
  • cross-env ^7.0.3
  • mini-svg-data-uri ^1.4.4
  • next-sitemap ^3.1.43
  • postcss ^8.4.20
  • postcss-import ^15.1.0
  • prisma ^4.8.1
  • tailwindcss ^3.2.4
  • typescript ^4.9.4
  • node ^18.0.0
package.json
  • eslint ^8.31.0
  • prettier ^2.8.1
  • prettier-plugin-tailwindcss ^0.2.1
  • pnpm 7.22.0
packages/eslint-config-next-typescript/package.json
  • @next/eslint-plugin-next ^13.1.1
  • @typescript-eslint/eslint-plugin ^5.47.1
  • @typescript-eslint/parser ^5.47.1
  • eslint-config-airbnb ^19.0.4
  • eslint-config-airbnb-typescript ^17.0.0
  • eslint-config-prettier ^8.5.0
  • eslint-plugin-import ^2.26.0
  • eslint-plugin-jsx-a11y ^6.6.1
  • eslint-plugin-react ^7.31.11
  • eslint-plugin-react-hooks ^4.6.0
  • eslint-plugin-simple-import-sort ^8.0.0
packages/eslint-config-typescript/package.json
  • @typescript-eslint/eslint-plugin ^5.47.1
  • @typescript-eslint/parser ^5.47.1
  • eslint-config-airbnb-base ^15.0.0
  • eslint-config-airbnb-typescript ^17.0.0
  • eslint-plugin-simple-import-sort ^8.0.0
packages/rehype-plugins/package.json
  • rehype-prism-plus ^1.5.0
  • unist-util-visit ^4.1.1
  • tsup ^6.5.0
  • unified ^10.1.2
packages/remark-plugins/package.json
  • acorn ^8.8.1
  • acorn-jsx ^5.3.2
  • front-matter ^4.0.2
  • remark-frontmatter ^4.0.1
  • remark-gfm ^3.0.1
  • slug ^8.2.2
  • zod ^3.20.2
  • @types/slug ^5.0.3
  • tsup ^6.5.0
  • unified ^10.1.2
packages/tsconfig/package.json

  • Check this box to trigger a request for Renovate to run again on this repository

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.