A blog client built with React and TypeScript that fetches data from a self-coded RESTful blog API built with Express.js.
- Text search
- Filtering articles by tag
- Five different themes
- Commenting on each article
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.
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.
- Clone the repository to your local machine:
git clone https://github.com/jet-black-ninja/bro-log-client - Navigate to the project directory:
cd bro-log-client - Add .env file with VITE_SERVE_URL directing to the server.
- Install the required dependencies:
npm install - Start the development server:
npm run dev
- 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.



