|
| 1 | +<div align="center"> |
| 2 | +<img src="./app/assets/images/logo/short-logo.svg" alt="Truthy Logo"> |
| 3 | +</div><br> |
1 | 4 | <h1 align="center"> |
2 | 5 | Truthy CMS (ReactJS Starter) |
3 | 6 | </h1> |
4 | 7 |
|
5 | | -<div align="center"> This repository is frontend part of Truthy CMS written in ReactJS & Redux-Saga. [Ant design](https://ant.design/) is used as a UI library. This project includes User Management, Role Management, Permission Management, Email Module, Account Settings, OTP, RBAC support, Localization, and many more. </div> |
| 8 | +<div align="center"> This repository is frontend part of Truthy CMS written in ReactJS & Redux-Saga. For Backend API please visit https://github.com/gobeam/truthy. Ant design (https://ant.design/) is used as a UI library. This project includes User Management, Role Management, Permission Management, Email Module, Account Settings, OTP, RBAC support, Localization, and many more. Hope you like it.<br> |
| 9 | +If you love it don't forget to share your experience. If you want to contribute to the Truthy CMS in any way like API, Frontend, Design, Logo you're more than welcome to do so. Our plan is to make this no. 1 CMS maintained by opensource community. |
| 10 | + </div> |
6 | 11 |
|
7 | 12 | <br> |
8 | 13 | <div align="center"> |
@@ -33,27 +38,27 @@ https://nodejs.org/en/ |
33 | 38 |
|
34 | 39 | In the project directory, you can run: |
35 | 40 |
|
36 | | -### `npm start` |
| 41 | +### `yarn start` |
37 | 42 |
|
38 | 43 | Runs the app in the development mode.<br> |
39 | 44 | Open [http://localhost:3000](http://localhost:3000) to view it in the browser. |
40 | 45 |
|
41 | 46 | Hot reload is supported on the development environment page will reload if you make edits.<br> |
42 | 47 | You will also see any lint errors in the console. |
43 | 48 |
|
44 | | -### `npm run build` |
| 49 | +### `yarn build` |
45 | 50 |
|
46 | 51 | Builds the app for production to the `build` folder.<br> |
47 | 52 | It correctly bundles React in production mode and optimizes the build for the best performance. |
48 | 53 |
|
49 | 54 | The build is minified and the filenames include the hashes.<br> |
50 | 55 | Your app is ready to be deployed! |
51 | 56 |
|
52 | | -### `npm run lint` |
| 57 | +### `yarn lint` |
53 | 58 |
|
54 | 59 | Lints all the files inside `./src` and shows the result without fixing. |
55 | 60 |
|
56 | | -### `lint:js:fix` |
| 61 | +### `yarn lint:js:fix` |
57 | 62 |
|
58 | 63 | Lints all the files inside `./src`. |
59 | 64 |
|
@@ -116,11 +121,11 @@ app |
116 | 121 | │ └── helpers * Common Helper functions. |
117 | 122 | │ └── hooks * Feature to use state and other React functionalities without writing class. |
118 | 123 | │ └── i18n * Translation files. |
119 | | -│ └── reducers * Pure function that takes an action and the previous state of the application and returns the new state. |
| 124 | +│ └── reducers * Pure function that takes an action and the previous state of the application and returns the |
120 | 125 | │ └── routes * Routes list. |
121 | 126 | │ └── scss * Scss files for the project. |
122 | 127 | │ └── services * Common services file. |
123 | | -│ └── store * The Redux action types in action-type.js, reducers, selectors, and main store in the sub-folders. |
| 128 | +│ └── store * The Redux action types in action-type.js, reducers, selectors, and main store in the |
124 | 129 | │ └── utils * Common utils. |
125 | 130 | │ └── app.js * Main app component. |
126 | 131 | │ └── global-style.js * Global styles. |
|
139 | 144 | ├── .env * Environment variables (env.production, env.local, env.uat, etc). |
140 | 145 | ├── .eslintrc.json * ESLint configuration and rules. |
141 | 146 | ├── .prettierrc * Formatting Prettier options. |
| 147 | +├── Dockerfile * Docker file for prod environment. |
| 148 | +├── Dockerfile.dev * Docker file for dev environment. |
142 | 149 | ``` |
143 | 150 |
|
144 | 151 | ## Contributing |
|
0 commit comments