simple-react-starter
simple-react-starter copied to clipboard
Simple ReactJS starter with an opinionated folder structure.
This project was bootstrapped with Create React App.
Simple React Starter
Simple ReactJS starter with an opinionated folder structure.
Getting Started
- Ensure you've followed the ReactJS - Getting Started Guide
- Clone this project
git clone [email protected]:pcofilada/simple-react-starter.git - Run
yarn installfrom root directory to install dependencies - Run
yarn startfrom root directory
Folder Structure
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