DkBlog

A dynamic blog using markdown with Next.Js.

DkBlog is a project using Next.Js to create a dynamic blog with markdown.

Some technologies used

Install and run the project

Global Dependencies

You need to have a main dependency installed:

  • Node.js LTS v18 (or any higher version)

Do you use nvm? Then you can run nvm install in the project folder to install and use the most appropriate version of Node.js.

Get the repository

git clone https://github.com/dkshs/dkblog.git

Local Dependencies

So after getting the repository, don't forget to install the project's local dependencies:

pnpm install

Environment variables

Create a .env file similar to .env.example.

Change Clerk variables according to your project.

# ...
 
# Clerk Keys
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY="YOUR_CLERK_PUBLISHABLE_KEY"
CLERK_SECRET_KEY="YOUR_CLERK_SECRET_KEY"
# Only PROD
CLERK_WEBHOOK_SIGNING_SECRET="YOUR_CLERK_WEBHOOK_SIGNING_SECRET"
 
# Clerk Routes
NEXT_PUBLIC_CLERK_SIGN_IN_URL="/sign-in"
NEXT_PUBLIC_CLERK_SIGN_UP_URL="/sign-up"
NEXT_PUBLIC_CLERK_AFTER_SIGN_IN_URL="/"
NEXT_PUBLIC_CLERK_AFTER_SIGN_UP_URL="/"
 
# ...

Run the project

To run the project locally, just run the command below:

pnpm run dev

License

This project is licensed under the MIT License - see the LICENSE file for details