A personal blog website built using Next.js with TypeScript, Tailwind CSS, Material Tailwind components, MongoDB database with Mongoose, and authentication using JWT and bcrypt.
Follow the instructions below to set up the project on your local machine:
git clone https://github.com/rezzakali/personal-blog.git
cd your-blog-website
npm install
Copy the .env.example
file and rename it to .env
. Fill in the required values for MongoDB connection and JWT secret.
npm run dev
http://localhost:3000
to see the application.|-- components/ # Reusable components
|-- pages/ # Next.js pages and routes
|-- models/ # Mongoose schemas and models
|-- public/ # Static assets
|-- styles/ # Global styles and Tailwind CSS configurations
|-- utils/ # Utility functions and helper files
|-- .env.example # Environment variables example
|-- .gitignore # Git ignore file
|-- next.config.js # Next.js configurations
|-- package.json # Project dependencies
|-- tsconfig.json # TypeScript configurations
|-- README.md # Project README
Contributions are welcome! If you find any issues or have ideas for improvements, please submit an issue or a pull request.
This project is licensed under the MIT License.
Replace the placeholders (your-username
and your-blog-website
) in the URLs with your GitHub username and repository name, respectively. Additionally, make sure to create a LICENSE
file in your repository and update the License
section with the appropriate license information.
Good luck with your personal blog website! If you have any questions or need further assistance, feel free to ask. Happy coding!