Project Title: Kologic Blog
This repository contains the source code for Kologic Blog, a full-stack web application developed using the MERN stack (MongoDB, Express.js, React.js, Node.js), Firebase, and deployed on the Render platform. The frontend is built with Vite React.
- User Authentication: Implemented user authentication using Firebase Authentication for secure access to the blog.
- CRUD Operations: Allows users to create, read, update, and delete blog posts.
- Responsive Design: Ensured that the blog is responsive and accessible across various devices.
- Deployment: Successfully deployed the application on the Render platform for public access.
- Frontend:
- React.js
- Vite React
- HTML/CSS
- Backend:
- Node.js
- Express.js
- Database:
- MongoDB
- Firebase
- Deployment:
- Render
- Clone the repository:
git clone https://github.com/yourusername/kologic-blog.git
- Navigate to the project directory:
cd kologic-blog
- Install dependencies:
cd frontend npm install cd ../backend npm install
- Set up Firebase:
- Create a Firebase project and set up Firebase Authentication.
- Obtain Firebase configuration details.
- Set up MongoDB:
- Install MongoDB and ensure it's running locally or use a cloud-hosted MongoDB service.
- Obtain MongoDB connection URI.
- Configure environment variables:
- Create a
.env
file in thebackend
directory and add the following variables:PORT=3001 MONGODB_URI=YOUR_MONGODB_URI FIREBASE_API_KEY=YOUR_FIREBASE_API_KEY FIREBASE_AUTH_DOMAIN=YOUR_FIREBASE_AUTH_DOMAIN FIREBASE_PROJECT_ID=YOUR_FIREBASE_PROJECT_ID
- Create a
- Start the backend server:
cd backend npm start
- Start the frontend development server:
cd frontend npm start
This project is deployed on the Render platform. The deployment process involves:
- Setting up a Render account.
- Connecting the GitHub repository to Render for automatic deployments.
- Configuring environment variables on Render for production deployment.
Visit Kologic Blog to explore the live demo.
- This project is created and maintained by Kavinda Rajapaksha.
- Contributions are welcome. Feel free to submit issues and pull requests.
This project is licensed under the MIT License.