Coder Social home page Coder Social logo

mahmoud-aboudeghedy / atomic-blog Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 293 KB

The Atomic Blog is a React application that allows users to create, search, and manage blog posts. It features a dark mode toggle, search functionality, and the ability to add and clear posts. Users can also view an archive of posts and add them as new posts. The project utilizes React, faker-js, and @faker-js/faker dependencies.

Home Page: https://atomic-blog-liart.vercel.app/

HTML 2.59% JavaScript 84.74% CSS 12.66%
context-api custome-hook dark-mode faker-js js react

atomic-blog's Introduction

The Atomic Blog

The Atomic Blog is a React application that allows users to create, search, and manage blog posts. It utilizes the PostContext to provide post data to different components.

Features

  • Dark mode toggle
  • Search posts by title
  • Add new posts
  • Clear all posts
  • View post archive
  • Add archive posts as new posts

Installation

  1. Clone the repository:

    git clone https://github.com/Mahmoud-AbouDeghedy/Atomic-Blog
  2. Install dependencies:

     npm install
  3. Start the development server:

     npm start
  4. Open http://localhost:3000 to view it in the browser.

Usage

  • Toggle dark mode by clicking on the sun or moon icon in the top right corner.
  • Search for posts by typing in the search input field in the header.
  • Add a new post by filling in the title and body fields in the form and clicking "Add post".
  • Clear all posts by clicking the "Clear posts" button in the header.
  • View the post archive by clicking the "Show archive posts" button in the sidebar.
  • Add an archive post as a new post by clicking the "Add as new post" button next to the post in the archive.

Dependencies

  • React
  • faker-js
  • @faker-js/faker

License

This project is licensed under the MIT License.

atomic-blog's People

Contributors

mahmoud-aboudeghedy avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.