Skip to content

Latest commit

 

History

History
70 lines (57 loc) · 1.75 KB

README.md

File metadata and controls

70 lines (57 loc) · 1.75 KB

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