https://github.com/data-miner00/react-esbuild-template

Opinionated React Template powered by esbuild

https://github.com/data-miner00/react-esbuild-template

Science Score: 13.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (13.7%) to scientific vocabulary

Keywords

esbuild eslint framer-motion jest react tailwind testing-library-react typescript
Last synced: 5 months ago · JSON representation

Repository

Opinionated React Template powered by esbuild

Basic Info
Statistics
  • Stars: 0
  • Watchers: 2
  • Forks: 0
  • Open Issues: 4
  • Releases: 1
Topics
esbuild eslint framer-motion jest react tailwind testing-library-react typescript
Created over 3 years ago · Last pushed over 2 years ago
Metadata Files
Readme License

README.md

Contributors Forks Stargazers Issues MIT License


React-Esbuild Template

An opionionated React Template that is built for customization!
Explore the docs »

View Demo · Report Bug · Request Feature

Table of Contents
  1. About The Project
  2. Getting Started
  3. Usage
  4. Roadmap
  5. Contributing
  6. License
  7. Acknowledgments

About The Project

Template screenshot

An extremely opinionated template for building React applications. Focus on the application itself rather than all these low-level configuration stuffs.

Incentives:

  • Wanted to build a web portal with Zilliqa.js
  • Don't want to use create-react-app
  • Don't want to use Next.js
  • Buitl this React template so I can use for other projects.

Of course, no one template will serve all projects since your needs may be different. So I'll be adding more in the near future. You may also suggest changes by forking this repo and creating a pull request or opening an issue. Thanks to all the people have contributed to expanding this template!

(back to top)

Built With

The technologies and tools used within this template.

  • React
  • Esbuild
  • ESLint
  • TypeScript
  • Jest/Testing Library
  • TailwindCSS
  • Framer Motion
  • GitHub Workflow
  • i18next
  • Prettier
  • Zod
  • react-icons

(back to top)

Design

Charts are very useful to let people know the high level designs of the project. Usually people will use some of more sophisticated third-party diagramming tools such as Enterprese Architect or a light-weighted draw.io.

Contrary to the public's awareness, GitHub actually supports diagramming language Mermaid that can generate a wide array of diagrams such as flowchart, sequence diagram, class diagram and more!

mermaid graph TD; PorsgreSQL-->Laravel; avax[Avalanche C-Chain]-->Laravel; Laravel-->Vue.js; Node.js-->Vue.js;

(back to top)

Getting Started

Prerequisites

The list of tools that is used when development.

  • npm sh npm install npm@latest -g
  • Pnpm sh npm i -g pnpm
  • Git

Installation

To use this template for personal use or contribution, simply perform the following. A total of 3 terminals are required to get 3 of the core components of application up and running for development. However, it is possible to start all the necessary processes with one terminal by using pnpm dev as shown on step 7.

  1. Clone the repo sh git clone https://github.com/data-miner00/React-Esbuild-Template.git
  2. Install Node dependencies sh pnpm i
  3. Optionally update the dependencies sh pnpm up --latest
  4. Recommend to run tests to check if things are breaking sh pnpm test
  5. Optionally run lint to check if code styles are breaking sh pnpm lint
  6. Run formatter to format code sh pnpm format
  7. Start Esbuild, Tailwind JIT and local dev server concurrently. Skip 8,9,10 sh pnpm dev
  8. Start Esbuild (requires 1 terminal) sh pnpm watch
  9. Start Tailwind JIT (requires 1 terminal) sh pnpm watch:tw
  10. Finally start local dev server (requires 1 terminal) sh pnpm start
  11. Compile for production sh pnpm build:tw pnpm build
  12. Purge dist folder sh pnpm purge

(back to top)

Roadmap

  • [x] Add TypeScript
  • [x] Add ESLint
  • [x] Add Jest/Testing Library
  • [x] Add React Router (Lazy Loading)
  • [x] Add 404 page
  • [x] Add Framer Motion
  • [x] Add Styling
    • [ ] Sass
    • [x] Tailwind
  • [x] Add i18n
    • [ ] Korean
    • [x] Japanese
    • [ ] Chinese
  • [ ] Authentication
    • [ ] OAuth 2.0? OpenID Connect?
  • [x] Dark mode
  • [x] Add GitHub workflows
  • [ ] Add PWA Manifest
  • [ ] Mobile Responsive
    • [ ] Navbar and header
  • [ ] Add E2E tests

See the open issues for a full list of proposed features (and known issues).

(back to top)

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

(back to top)

License

Distributed under the MIT License. See LICENSE for more information.

(back to top)

Acknowledgments

List of resources that are helpful and would like to give credit to.

(back to top)

Owner

  • Name: Shaun Chong
  • Login: data-miner00
  • Kind: user
  • Location: undefined, Mars
  • Company: Experian

Full Queue Developer

GitHub Events

Total
Last Year

Committers

Last synced: 8 months ago

All Time
  • Total Commits: 139
  • Total Committers: 1
  • Avg Commits per committer: 139.0
  • Development Distribution Score (DDS): 0.0
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
data-miner00 d****0 139

Issues and Pull Requests

Last synced: 8 months ago

All Time
  • Total issues: 5
  • Total pull requests: 18
  • Average time to close issues: 11 days
  • Average time to close pull requests: 2 days
  • Total issue authors: 1
  • Total pull request authors: 1
  • Average comments per issue: 0.0
  • Average comments per pull request: 0.0
  • Merged pull requests: 17
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • data-miner00 (4)
Pull Request Authors
  • data-miner00 (17)
Top Labels
Issue Labels
Pull Request Labels