This project was bootstrapped with Create React App.
Simple ReactJS starter with an opinionated folder structure.
- Ensure you've followed the ReactJS - Getting Started Guide
- Clone this project
git clone git@github.com:pcofilada/simple-react-starter.git
- Run
yarn install
from root directory to install dependencies - Run
yarn start
from root directory
src/
- Contains all of our react codebaseindex.tsx
- Base react componentroutes.ts
- App navigationapi/
- Api call related functionsassets/
- Images, fonts and other static filesconfig/
- Config filescontainers/
- Smart Componentscontext/
- React Contexttypes/
- Typescript related files or functionsutils/
- Helper functionscomponents/
- Dumb Componentscommon/
- Shared components