Note This app is still on its early stage of development
A react webapp library that contains the core functionalities of account base application. This app is designed to connect to a @kagiweb/api-core-a base server.
The root package contains a ready to use core web application, redux store and an app handler (for customization). To use the app using the default configuration, just follow the code below.
import React from 'react';
import ReactDOM from 'react-dom/client';
import { Provider } from 'react-redux';
import App, { appStore, appHandler } from '@kagiweb/api-core-a';
root.render(
<Provider store={appStore}>
<App />
</Provider>
);
The <App>
component contains, app subsystems, webpages and components such as signin
, singout
, otp signin
, user management
, owner settings
and more.
You dont need to create the core functionality of an account base system because the app is already configured for this.
<App>
- contains the base app, pages, components, routes and services.appStore
- a redux store that is use by the main app to work.appHandler
- to customise the application, add pages, add routes and navigations.
The package contains apphandler
object, and this is use to customise the app. The list below are the things you can set in order to customise the application:
app info
- information such as app name, server endpoints, default paginations and more.app theme
- color of the app, base on material UIpublic navigations
- links on the popup when you are signed outpublic pages
- pages and routes when you are signed outprivate main navigations
- the drawer links when you are signed inprivate user navigations
- the popup links in the top right corner when you are signed inprivate pages
- pages and routes when you are signed in
inprogress...