- Introduction
- Key Features
- Technologies Used
- File Structure
- Installation Guide
- Contribution
- Contact Us
Welcome to Blogosphere - your go-to destination for a feature-rich and immersive blogging experience! π In the vast landscape of the internet, Blogosphere stands out as a meticulously designed blog application created using the MERN stack. Whether you're an avid writer or an enthusiastic reader, Blogosphere is tailored to meet your blogging needs with style and functionality.
π User Authentication & Authorization: Blogosphere prioritizes the security and privacy of its users. We've implemented robust authentication and authorization mechanisms using JWT, Bcryptjs, and secure cookies. Your data is safe, and you can enjoy a seamless experience without compromising on security.
π Blog Operations: Express your thoughts and creativity effortlessly! With Blogosphere, users can create and edit their blogs with an intuitive and dynamic content creation interface. Write, edit, and personalize your content to make it uniquely yours.
π§ Contact Us Page with Nodemailer: Communication is key! Blogosphere features a Contact Us page seamlessly integrated with Nodemailer. Reach out to us easily, ask questions, provide feedback, or just say hello. We value your input and are committed to fostering a strong community.
π Landing Page: Your journey begins with a captivating landing page designed to leave a lasting impression. Blogosphere's landing page is crafted to engage visitors and provide a glimpse into the rich content that awaits them within the app. Welcome to a world where every visit starts on a positive note!
π± Mobile Responsiveness: Blogosphere is not confined to desktops; it accompanies you wherever you go. Experience the same level of smooth navigation and functionality on various devices, ensuring that Blogosphere is accessible anytime, anywhere. Whether you're on your laptop, tablet, or smartphone, your blogging journey is at your fingertips.
βοΈ Blogosphere is built on the MERN stack:
- MongoDB: For a flexible and scalable database to handle blog data efficiently.
- Express.js: For building a robust and scalable backend to manage blog operations.
- React.js: For creating a dynamic and interactive user interface.
- Node.js: For running the server-side logic and handling backend requests.
- JWT, Bcryptjs, Cookies: Ensuring secure user authentication and authorization.
- Nodemailer: Facilitating seamless communication through the Contact Us page.
Blogosphere combines these technologies to create a powerful and enjoyable blogging platform. Dive into the world of Blogosphere and let your blogging journey begin! πβ¨
π The front-end part is structured as follows:
βββ πclient
βββ .env
βββ .env.example
βββ .gitignore
βββ package-lock.json
βββ package.json
βββ πpublic
βββ blogosphere-logo.png
βββ blogosphere-white-logo.png
βββ index.html
βββ logo.png
βββ manifest.json
βββ robots.txt
βββ πsrc
βββ App.js
βββ πcss
βββ App.css
βββ contact.css
βββ forms.css
βββ home.css
βββ index.css
βββ index.js
βββ πpages
βββ BlogsPage.js
βββ Contact.jsx
βββ CreatePost.js
βββ EditPost.js
βββ IndexPage.jsx
βββ LoginPage.js
βββ PostPage.js
βββ RegisterPage.js
βββ πpartials
βββ Footer.js
βββ Layout.js
βββ NavBar.js
βββ Post.js
βββ πutils
βββ Editor.js
βββ UserContext.js
π The back-end part is structured as follows:
βββ πserver
βββ .env
βββ .gitignore
βββ index.js
βββ πmodels
βββ Post.js
βββ User.js
βββ package-lock.json
βββ package.json
βββ πuploads
π Follow these steps to install and run the Awesome Project:
-
Navigate to the client folder:
cd client
-
Install Frontend Dependencies:
npm install
-
Configure Environment Variables:
- Rename the
.env.example
file to.env
. - Open the
.env
file and add your server API base link:REACT_APP_API_BASE_URL=http://your-server-api-link
- Rename the
-
Start the Development Server:
npm start
This will launch the client application on
http://localhost:3000
.
-
Navigate to the server folder:
cd server
-
Install Backend Dependencies:
npm install
-
Configure Environment Variables:
- Rename the
.env.example
file to.env
. - Open the
.env
file and add your MongoDB URI and JWT secret:MONGO_URI=mongodb://your-mongo-uri JWT_SECRET=your-jwt-secret
- Rename the
-
Run the Server for Development:
npm run dev
This will start the server in development mode.
-
Run the Server for Production:
npm start
Use this command when deploying the server in a production environment.
Now, both the client and server are installed and running. You can access the frontend on http://localhost:3000
, and the backend will be running according to your specified configuration (by default on http://localhost:4000
).
π€ We welcome contributions! If you'd like to contribute to the Awesome Project, please follow these steps:
- Fork the repository.
- Create a new branch:
git checkout -b feature/new-feature
- Make your changes and commit them:
git commit -m 'Add new feature'
- Push to the branch:
git push origin feature/new-feature
- Submit a pull request.
π¬ Feel free to reach out to us on social media:
- Portfolio: vijaisuria.github.io
- LinkedIn: Your Name
- Email: [email protected]