Skip to content

A blog app made for fictional characters who wish to share insightful articles.

Notifications You must be signed in to change notification settings

edisonabdiel/CogBlog

Repository files navigation

CogBlog

Screenshot 2021-11-14 at 15 38 58

Table of Contents
  1. About The Project
  2. Built With
  3. Dependencies
  4. Design Reasoning
  5. Challenges
  6. Getting Started

About The Project

CogBlog is a modern and fully fuctional blog for fictional characters who are also aspiring writters.

Key Features

  • Modern UI
  • Extremely easy to use and intuitive
  • Display a list of posts
  • Display related posts
  • Display a list of categories
  • Display a list of post per category
  • Display adjacent posts
  • Allows you to comment on posts
  • Teastable & Scalable
  • Resposinve to different screen sizes

Built With:

Dependencies

  • moment.js
  • React Icons
  • html-react-parser
  • next-themes
  • react-multi-carousel

Design Reasoning

The app was initialised completely from scratch in order to ensure a smooth integration between React - Next - TypeScript - TailwindCSS. Also built with a GraphQL API to allow for a more dynamic and scalable experience which integrates perfectly with the GraphCMS API.

Components were built in a way that allows for a more dynamic and scalable experience which integrates perfectly with the GraphCMS API.

The UI is meant to be minimalistic yet engaging and intuitive. It was built using SASS for global styles and TailwindCSS for styling to allow great control and autonomy over the layout of the app and also the design and feel of all the elements within it.

all authors and posts are fictional and used for demo porpuses only

Challenges

Setting up the Post markup in PostDetail was particularly challenging as looping through every single type of content to subsequently add its respective styling was needed in order to display it as semantically as possible. Used a combination of map, if and switch statements to achieve this.

Getting Started

Install the dependencies

npm install
# or
yarn add install

Run the development server:

npm run dev
# or
yarn dev

Build

npm run build
# or
yarn build

Open http://localhost:3000 with your browser to see the result.

Hosted on

Vercel

Made with loads of ❤️‍🔥