All Projects → gobeam → truthy-react-frontend

gobeam / truthy-react-frontend

Licence: MIT license
Truthy CMS's Frontend application written in ReactJS & Redux Saga. This project includes UI implementation of User Management, Role Management, Permission Management, Email Module, Account Settings, OTP, RBAC support, Localization, and many more.

Programming Languages

javascript
184084 projects - #8 most used programming language
SCSS
7915 projects
Less
1899 projects
HTML
75241 projects
Dockerfile
14818 projects
shell
77523 projects

Projects that are alternatives of or similar to truthy-react-frontend

React-TypeScript-Boilerplate-Example
React + TypeScript + Redux Boilerplate Example
Stars: ✭ 18 (-51.35%)
Mutual labels:  react-template, react-redux-boilerplate
WalkTheWeb
WalkTheWeb 3D Internet - Metaverse - Multiverse - Host your own multiplayer Metaverse of 3D Games, 3D Shopping, and 3D Scenes!
Stars: ✭ 28 (-24.32%)
Mutual labels:  cms-backend
react-initial-bootstrap
an "almost complete" template for your new projects
Stars: ✭ 24 (-35.14%)
Mutual labels:  react-template
rr-boilerplate
A lightweight React&Redux boilerplate
Stars: ✭ 35 (-5.41%)
Mutual labels:  react-redux-boilerplate
react-admin-nest
React和Ant Design和 Nest.js 和 Mysql 构建的后台通用管理系统。持续更新。
Stars: ✭ 123 (+232.43%)
Mutual labels:  react-template
veact-admin
🔏 Admin client for surmon.me blog powered by React & @veactjs
Stars: ✭ 39 (+5.41%)
Mutual labels:  react-admin-template
react-rbac-ui-manager
react-rbac-ui-manager is a simple RBAC (Role Based Access Control) user interface library based on the material design system using the Material-UI lib.
Stars: ✭ 73 (+97.3%)
Mutual labels:  rbac-management
Gatekeeper
Lightweight library in C# for implementing roles-based access control (RBAC). With Gatekeeper, you can define users, roles, resources, and permissions, and authorize requests.
Stars: ✭ 25 (-32.43%)
Mutual labels:  rbac-management
DPOTPView
Customisable OTP view and Passcode view
Stars: ✭ 52 (+40.54%)
Mutual labels:  otp-verification
EasyShiro
基于 RBAC 模型功能全面的 Shiro 安全集成&简化&扩展组件。Shiro integration & simplifies & Extension component based RBAC
Stars: ✭ 47 (+27.03%)
Mutual labels:  rbac-management
MyApp
A template to create awesome Apps easily ⚡️
Stars: ✭ 39 (+5.41%)
Mutual labels:  react-template
simpleCMS
simpleCMS是一款开源cms系统, 主要为个人/团队快速开发博客或者知识共享平台, 类似于hexo, worldpress, 但是他们往往需要复杂的搭建过程, 我们将复杂度降到最低, 并且有详细的部署教程, 你只需要有一台服务器, 就能轻松拥有一个属于你的博客平台.
Stars: ✭ 74 (+100%)
Mutual labels:  cms-backend
nextjs-typescript-and-mongodb
NextJS template for development with MongoDB.
Stars: ✭ 17 (-54.05%)
Mutual labels:  react-template
cra-template-react-template
🤘 My bootstrap template to use in react
Stars: ✭ 15 (-59.46%)
Mutual labels:  react-template
react-starter-kit
🚀 React starter kit for a modern single page (SPA) application (dependencies updated at 28 July 2017). Zero configuration. Ready to go. Just paste your code!
Stars: ✭ 26 (-29.73%)
Mutual labels:  react-template
templates
tsParticles website templates collection
Stars: ✭ 42 (+13.51%)
Mutual labels:  react-template
Azia-Admin-React
Free React.js Admin template
Stars: ✭ 44 (+18.92%)
Mutual labels:  react-template
tailwind-react-next.js-typescript-eslint-jest-starter
Starter template for building a project using React, Typescript, Next.js, Jest, TailwindCSS and ESLint.
Stars: ✭ 80 (+116.22%)
Mutual labels:  reactjs-boilerplate
parcel-react
📦🚀 A minimal React.js boilerplate project with parcel as bundler.
Stars: ✭ 72 (+94.59%)
Mutual labels:  reactjs-boilerplate
taro-template
可用于生产环境的taro项目模版,技术栈:taro + taro-ui + typescript + dva / mobx + sass,无需过多关注项目配置,预置功能包括但不限于页面/组件/store/service模版一键生成/编译自动生成路由列表和组件入口/代码规范强制检查/请求拦截封装/小程序CI等,实现多端项目的高效快速开发。目前已有1.x / 2.x / 3.x 版本。
Stars: ✭ 59 (+59.46%)
Mutual labels:  react-template

Truthy Logo

Truthy CMS (ReactJS Starter)

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 an 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.
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 open-source community.

View Live here

truthy-react-frontend package.json version ruthy-react-frontend Lines of code Open Source Helpers

Buy Me A Coffee

Created by Roshan Ranabhat (gobeam) and maintained with ❤️ by an amazing team of awesome developers.

Check Live code deployed here: Frontend: Truthy CMS Backend API Docs: Swagger Docs

Truthy CMS

Table of Contents


Getting Started

This project was created to help developers by bootstrapping basic modules that need to be present while creating a standard CMS. The main motto of this project was to save precious time while developing CMS and focus more on the core part. This project is trying to follow the best possible standard to make it optimized and production-ready. Hope you like it. If you love it don't forget to share your experience.


Prerequisites

NodeJS https://nodejs.org/en/


Available Scripts

npx truthy-react-cms project_name

This commands downloads the latest version of truthy-react-cms

In the project directory, you can run:

yarn start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

Hot reload is supported on the development environment page will reload if you make edits.
You will also see any lint errors in the console.

yarn build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

yarn lint

Lints all the files inside ./src and shows the result without fixing.

yarn lint:js:fix

Lints all the files inside ./src.


Setup

First, you need to clone the project

git clone https://github.com/gobeam/truthy-react-frontend.git

After cloning the project copy .env.sample and save it as .env

cp .env.sample .env

In the .env file, you have to provide the following fields

#environment type (development, production)
NODE_ENV=development

#frontend application URI
REACT_APP_URI=http://localhost:3000

#Backend API URI (setup from: https://github.com/gobeam/truthy)
REACT_APP_API_BASE_URI=http://localhost:7777

If you want to run locally

yarn start

If you want to use Docker to deploy it on production or development stage

docker build -t truthy-frontend .
docker run truthy-frontend -p 3000:80

File Structure

This project follows the following file structure:

app
├── app                  
│   └── assets                              * Assets that are imported into your components(images, custom SVG, etc).
│   └── common                              * Common helpers function, hooks, translation messages, and layouts
│   └── component                           * Components of the projects that are not the main views.
│       └── ...
│   └── containers                          * Components that are connected to the redux-saga and receive updates.
│       └── <domain container>
│           └── index.js
│           └── action.js
│           └── constants.js
│           └── Loadable.js
│           └── messages.js
│           └── reducer.js
│           └── saga.js
│           └── selector.js
│   └── helpers                             * Common Helper functions.
│   └── hooks                               * Feature to use state and other React functionalities without writing class.
│   └── i18n                                * Translation files.
│   └── reducers                            * Pure function that takes an action and the previous state of the application and returns the 
│   └── routes                              * Routes list.
│   └── scss                                * Scss files for the project.
│   └── services                            * Common services file.
│   └── store                               * The Redux action types in action-type.js, reducers, selectors, and main store in the 
│   └── utils                               * Common utils.
│   └── app.js                              * Main app component.
│   └── global-style.js                     * Global styles.
├── build                                   * Build files when `yarn build` is run.
├── internals
│   └── scripts                             * Scripts.
│   └── webpack                             * Webpack configuration.  
├── server                                  * Node server to run the application. 

Some important root files

.
├── .editorconfig                           * Coding styles (also by programming language).
├── .env                                    * Environment variables (env.production, env.local, env.uat, etc).
├── .eslintrc.json                          * ESLint configuration and rules.
├── .prettierrc                             * Formatting Prettier options.
├── Dockerfile                              * Docker file for prod environment.
├── Dockerfile.dev                          * Docker file for dev environment.

Application Security

Throttle

By default Throttle has been implemented on API endpoints in Truthy Backend API

Two Factor Authentication (2FA)

User Will have 2FA authentication option available to be turned on or off. For 2FA time-based one-time password is used. A time-based one-time password (TOTP) application automatically generates an authentication code that changes after a certain period of time. Applications like Authenticator, 1Password, Authy etc. can be used to generate TOTP. When you enable 2FA, you will be sent a QR code in your email which should be scanned from above mentioned application and TOTP will be generated by those applications.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change. Please make sure to update tests as appropriate. - see CONTRIBUTING.md for details. If you want to be featured in contributors list on our home page please add PR on https://github.com/gobeam/truthy-contributors to provide your details.


Sponsors


License

Released under the MIT License - see LICENSE.md for details.


Acknowledgement

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].