Tech-Canvas is a Next.js-powered blog platform for exploring the latest in tech trends, tutorials, and insights. Optimized for SEO and user-friendly experience.
Note
I created this blog platform to practice my web development skills, using Next.js for the project. Building this platform boosted my confidence in handling full-stack projects. I introduced a global search bar, allowing users to search throughout the entire applicationβa feature I implemented for the first time in this project. Additionally, I added a tag feature to each blog post and incorporated Firebase storage. The entire journey was enjoyable, and I gained valuable real-world project-building experience.
- π Sept 2023
- Next.js (13.1.0)
- TailwindCSS
- Firebase (for file upload)
Marked
package for parsing Markdown to HTMLHighlight.js
for code highlighting- MongoDB & Mongoose
- π Secure admin panel
- π Search functionality
- β Markdown support
- π CRUD operations for blogs
- π SSR and SSG for enhanced performance
- πΌοΈ Firebase integration for file uploads
- π Pagination for a smooth browsing experience
Explore the live version of Tech-Canvas here.
If you want to utilize this blog web app for your own purposes, follow these steps:
-
Clone the repository:
$ git clone https://github.com/fh-rabbi/tech-canvas
-
Install dependencies:
$ npm i
-
Run the project in development mode:
$ npm run dev
Make sure to set the following environment variables in your .env
file:
- NOTE: You will need to setup firebase cloud storage and also create a image folder in firebase storage
MONGO_URI= # MongoDB connection URI (only uri without dbname)
FIREBASE_API_KEY= # Firebase config api key
FIREBASE_APP_ID= # Firebase config app id
ADMIN_API_ROOT= # Admin API root path (https://domain/api/admin)
PUBLIC_API_ROOT= # Public API root path (https://domain/api/public)
ADMIN_USERNAME= # Admin username
ADMIN_PASSWORD= # Admin password
SECRET_KEY= # Secret key for authentication
NEXT_PUBLIC_DOMAIN= # Public domain for the app
GMAIL_USERNAME= # Your gmail account username for send email
GMAIL_PASSWORD= # Gmail app password (you need to enable two factor auth then you will find app password under gmail_account>security>two_factor>app_password)
RECEIVER_EMAIL= # Email address where you want to receive contact email/message from contact form
You should add all of your social media links in the following file: src/social-links.js
Add all your social media
links in this file
Let's connect! Reach out for collaborations, projects, or just a friendly chat.