Skip to content

A simple Twitter clone created to test my skills with React and TypeScript

Notifications You must be signed in to change notification settings

ocodista/posterr

Repository files navigation

Posterr

A twitter-based application built with React, Typescript, TailwindCSS & ESLint!

Features

💬 Post

  • Create
  • Share
  • Quote

🏠 Home Page

  • All Posts
  • Following Posts

🧔 User Profile

  • Posts Count
  • Followers
  • Following
  • Follow/Unfollow
  • Create Post

Built with

  • React
  • TypeScript
  • TailwindCSS
  • ESLint
  • Jest
    🐻 Zustand
    • A revolutionary react state management lib
  • Json-Server
    • To stub api requests

Getting Started

Prerequisites

  • Node (16.14)
  • Yarn

Usage

With Docker

  1. In the root folder, run
docker-compose up
  1. Open your browser in http://localhost:3000
  2. That's it, have fun

Without Docker

You'll need two terminal screens to do it

  1. On the first one, run
yarn start-server
  1. On the second one, run
yarn start-client
  1. Open your browser at http://localhost:3000
  2. That's it, have fun

Tests

The project was built using Jest and React TestingLibrary.
TDD was used on a few files as an example, due time restrictions I did not add tests to other files.

To run the tests, execute:

yarn test

About

A simple Twitter clone created to test my skills with React and TypeScript

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published