Skip to content

sachinkmrsin/bro-log-client

Repository files navigation

Code-Blog

A blog client built with React and TypeScript that fetches data from a self-coded RESTful blog API built with Express.js.

Features

  • Text search
  • Filtering articles by tag
  • Five different themes
  • Commenting on each article

API

The blog client fetches data from a self-coded RESTful blog API. The source code for the API can be found at https://github.com/jet-black-ninja/brolog-api.

Content Management System

The blog can be managed from a self-coded content management system. The source code for the CMS can be found at https://github.com/jet-black-ninja/brolog-admin-fp.

Installation

  1. Clone the repository to your local machine: git clone https://github.com/jet-black-ninja/bro-log-client
  2. Navigate to the project directory: cd bro-log-client
  3. Add .env file with VITE_SERVE_URL directing to the server.
  4. Install the required dependencies: npm install
  5. Start the development server: npm run dev

Acknowledgments

  • Date-fns - A library for manipulating dates in JavaScript.
  • Html-entities - A library for encoding and decoding HTML entities.
  • Html-react-parser - A library for converting HTML strings into React components.
  • Prismjs - A library for syntax highlighting in the browser.
  • React - A JavaScript library for building user interfaces.
  • React-icons - A library for adding icons to React projects.
  • React-loader-spinner - A library for adding a loading spinner to React projects.
  • React-router-dom - A library for routing in React projects.
  • String-strip-html - A library for stripping HTML tags from strings.
  • TypeScript - A typed superset of JavaScript that compiles to plain JavaScript.
  • EsLint - A linter for JavaScript and TypeScript code.
  • Prettier - An opinionated code formatter for JavaScript and TypeScript code.
  • Vite - A fast build tool for JavaScript and TypeScript projects.

Screenshots

Desktop

screenshot

screenshot

Mobile

screenshot

screenshot

About

client for bro-log blog page

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published