Giter VIP home page Giter VIP logo

basic-blog's Introduction

Blog App

Introduction

Welcome to my Blog App React project! This application was developed as part of the project challenges from the React Simplified beginner and advanced parts. It's a culmination of various concepts and challenges, including routing, API integration, form handling, testing, and loading animations.

Getting Started

To get started with the project, follow these steps:

  1. Clone the repository to your local machine.
  2. Navigate to the project directory.
  3. Install dependencies by running npm install in the root directory.
  4. Start the fake API by navigating to the Api repo clone it and run npm run dev.
  5. Start the React application by running npm run dev in the root directory.

Project Overview

This project was developed into multiple parts, each focusing on specific functionalities and enhancements. Here's a brief overview of each part:

Part 1: Initial Implementation

  • Implemented navigation bar with links to Posts, Users, and Todos pages.
  • Rendered data from the provided API on respective pages.
  • Implemented loading spinner, 404 error page, detailed error handling, and additional functionalities as bonus tasks.

Part 2: Adding Posting and Editing Posts

  • Added functionality for filtering, creating, and editing posts.
  • Created New Post and Edit Post pages with form fields.
  • Enhanced filtering options, improved form submission handling, and implemented form validations as bonus tasks.

Part 3: Testing

  • Practiced testing a larger-scale project with routing and API requests.
  • Tested filtering functionality on the PostList page.
  • Tested functionality of the NewPost page.
  • Mocked the API for testing purposes.
  • For runing the test you can run the npm run test command in the root directory.

Part 4: Async Routing and Animations

  • Implemented asynchronous routing with Suspense, defer, and Await.
  • Added loading animations using deferred loaders to each page.
  • Utilized provided CSS classes for implementing loading animations.

Conclusion

I've thoroughly enjoyed working on this project and implementing the various features and challenges it presented. This project has not only enhanced my React skills but also provided valuable experience in handling complex projects and integrating multiple concepts seamlessly.

Feel free to explore the project and suggest improvements. Happy coding!

Preview

Blog App Preview

basic-blog's People

Contributors

alexmaderap 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.