Code Monkey home page Code Monkey logo

tweettulator-fe's Introduction

Tweetulator FE - ReactJS

  • I use create-react-app with typescript template to provision the application.
  • I use TailwindCSS to build the UI for the whole app, React Router V6 to handle navigate in app
  • I only use React Context and React Hook to share state across components instead of Redux
  • The project structure is described as below

How to run on local development

Create .env and copy the content from .env.example

yarn install
yarn start

Visit http://localhost:3000

React Architecture

src
│
└───api: contains the axios instance for making the requests.
│
└───components: Contains all components
│   │   Header.tsx
│   │   Footer.tsx
│      ...
│   
└───contexts: Contains all React contexts, currently I just added AuthContext for this project
│
│
│
└─── hooks: Contains all React custom hooks: useAuth and useItem
│
│
│
└─── layout: App layout, I have added default layout with basic Header and Footer
│
│
│
└─── pages: I use this folder to group App's pages together
│
│
│
└─── routes.tsx: All pages route will locate in this file.

tweettulator-fe's People

Contributors

nuskirk avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.