This project is a React application using Redux for state management and Tailwind CSS for styling.
Before running the project, ensure you have the following software installed:
Follow these steps to install project dependencies:
# Install dependencies
npm install
# Generate css types
npm run generate-css-types
# Run project
npm run dev
The project follows the following folder structure:
.
├── dist # Compiled files
├── public # Public assets and entry HTML file
├── src # Source files
│ ├── assets # Project assets
│ ├── api # API-related endpoints
│ ├── handlers # Controller layers
│ │ ├── *
│ │ │ ├── *.controller.ts # API-related services
│ │ │ └── *.reducer.ts # Redux reducers
│ ├── repositories # Repositories layers
│ ├── components # Reusable React components
│ ├── modules # Reusable React modules
│ ├── templates # Reusable React templates (use for pages rendering)
│ ├── pages # Top-level components representing different pages or views
│ ├── react-routes # React routes configuration
│ ├── redux # Redux store configuration
│ ├── helpers # Helpers functions
│ └── utils # Utilities functions
├── .env.example # Secret environment
└── README.md
The main technologies used in this project are:
Make your changes in a new git branch
git checkout -b my-fix-branch dev
Follow these steps before committing your changes
# Verify linting issues
npm run lint
# Format code
npm run format:write
Commit Message Format
<type>(<scope>): <subject>
<BLANK LINE>
<body>
<BLANK LINE>
<footer>
Type
Scope
api
directoryhandlers
directoryrepositories
directoryhelpers
, utils
directorycomponents
, modules
, templates
, pages
directoryredux
directoryreact-routes
directory