Skip to content

arshalik1111-design/mentorship-blog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mentorship Blog Platform

A full-stack CRUD application built from the ground up with Node.js and Express. This platform is designed to allow mentors and experienced individuals to share advice, insights, and guidance with a community of learners.


Live Demo

You can view and interact with the live, deployed version of the project here:

https://mentorship-blog.onrender.com

(Note: The initial load may take up to 50 seconds as the free server instance spins up.)


Screenshot

Mentorship Blog Screenshot


Features

This application includes the full range of CRUD (Create, Read, Update, Delete) functionality:

  • Create: Easily write and publish new posts through a dedicated form.
  • Read: View all posts on a clean, responsive card-based layout.
  • Update: Edit existing posts to correct typos or add new information.
  • Delete: Remove posts that are no longer needed.
  • Data Persistence: All post data is stored in a permanent, cloud-hosted MongoDB Atlas database, ensuring no data is lost on server restarts.
  • Responsive Design: Styled with Bootstrap for a great user experience on both desktop and mobile devices.

Technologies Used

  • Backend: Node.js, Express.js
  • Frontend: EJS (Embedded JavaScript templates), Bootstrap 5, CSS3, HTML5
  • Database: MongoDB Atlas (managed with the Mongoose ODM library)
  • Deployment: Render

Local Setup & Installation

To run this project on your local machine, follow these steps:

  1. Clone the repository:

    git clone https://github.com/arshalik1111-design/mentorship-blog.git
  2. Navigate to the project directory:

    cd mentorship-blog
  3. Install dependencies:

    npm install
  4. Set up Environment Variables: Create a file named .env in the root of the project and add your MongoDB connection string:

    DATABASE_URL=your_mongodb_connection_string_here
  5. Run the application (for development):

    npx nodemon index.js

    The server will start on http://localhost:8080.


Future Enhancements

  • User Authentication: Implement user accounts to associate posts with specific authors.
  • Image Uploads: Allow users to upload an image along with their text-based posts.

About

A full-stack blog platform built with Node.js, Express, and EJS for sharing mentorship advice.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published