Skip to content

Latest commit

 

History

History
101 lines (69 loc) · 2.23 KB

README.md

File metadata and controls

101 lines (69 loc) · 2.23 KB

codetogether-ui

code style: prettier

Library of reusable components for CodeTogether

This project was bootstrapped with Create React App.

Contribute

Editor Requirements

System Requirements

How To Use

Download the project

git clone git@github.com:AhmedAbdulrahman/codetogether.network.git

Install dependencies

yarn

Developing in Storybook

yarn storybook
(open localhost:9009)

Building Storybook

yarn storybook:build

Start the app

yarn build && yarn start
(open localhost:3000)

Dependency Overview

The application is built using

Moreover we've configured and use:

Project Structure

We split components into different types, to then group them by feature:

.storybook/ # Storybook config
src/components/ # Presentational or dumb components. They usually don't contain any complicated logic.
|-- SomeComponent/
|   |-- index.js
|   |-- SomeComponent.js
|   |-- stories.js
src/containers/ # Intelligent components, in other words, components with logic, e.g. forms.
|-- SomeContainer/
|   |-- index.js
|   |-- SomeContainer.js
|   |-- stories.js
src/pages/ # Components which are rendered by a route directly. These can also be intelligent.
|-- SomePage/
|   |-- index.js
|   |-- stories.js