Skip to content

vijaykr338/CodeDiaries

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

82 Commits
 
 
 
 
 
 

Repository files navigation

Here’s a sample README for your CodeDiaries full-stack blogging application on GitHub:


CodeDiaries - Full-Stack Blogging Application

CodeDiaries is a full-stack blogging platform that allows users to create and manage blog posts, add comments, and maintain personal profiles. The application is built using the MERN stack (MongoDB, Express.js, React, Node.js), providing a seamless and interactive experience for bloggers and readers alike.

Features

  • User Authentication: Users can register, log in, and manage their accounts.
  • Create and Edit Posts: Users can write, update, and delete their blog posts.
  • Comment System: Readers can add comments to posts, and users can moderate them.
  • User Profile: Each user has a profile to display their posts and personal details.
  • Responsive Design: The app is designed to work on all screen sizes using Tailwind CSS for styling.

Technologies Used

  • Frontend: React.js, Redux, Tailwind CSS
  • Backend: Node.js, Express.js
  • Database: MongoDB, Mongoose
  • Authentication: JWT (JSON Web Tokens)

Installation

To run this project locally, follow these steps:

  1. Clone the repository:

    git clone https://github.com/vijaykr338/codeDiaries.git
  2. Navigate into the project folder:

    cd codeDiaries
  3. Install the frontend dependencies:

    cd frontend
    npm install
  4. Install the backend dependencies:

    cd ../backend
    npm install
  5. Set up environment variables:

    • Create a .env file in the server folder and add the following:
      MONGO_URI=<your-mongo-db-uri>
      JWT_SECRET=<your-jwt-secret>
      
  6. Run the backend and frontend:

    • In the server folder, run:
      npm run dev
    • In the client folder, run:
      nodemon index.js
  7. The app should now be running at http://localhost:3000.

Contributing

Feel free to fork this project and submit pull requests for improvements or bug fixes. If you encounter any issues or have suggestions, open an issue on the repository.

License

This project is licensed under the MIT License - see the LICENSE file for details.


Let me know if you need any adjustments or additional sections!

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages