mbakoG90210 / azath-Admin-User-dashboard

React Dashboard - Purity UI Dashboard with support by @AppSeed

Home Page:https://appseed.us/product/node-js-react-purity-dashboard

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

React Purity Dashboard

Start your Development with an Innovative Admin Template for Chakra UI and React. Purity UI Dashboard is built with over 70 frontend individual elements, like buttons, inputs, navbars, navtabs, cards or alerts, giving you the freedom of choosing and combining. All components can take variations in colour, that you can easily modify using Chakra's style props. The product comes with a simple JWT authentication flow: login/register/logout.


πŸš€ Built with React App Generator

  • βœ… Innovative Chakra UI Design - Creafted by Creative-Tim
  • βœ… React, Redux, Redux-persist
  • βœ… Authentication: JWT Login/Register/Logout
  • βœ… Full-stack ready using Node JS API Server (open-source project)
    • Features: Typescript / SQLite / TypeORM / Joy (validation) / Passport library - passport-jwt strategy.

React Purity Dashboard - Open-source full-stack prodyct crafted by AppSeed and Creative-Tim.


Tests

Compatibility matrix using Ubuntu 18.04 LTS as reference.

NodeJS NPM YARN
v12.0.0 βœ… βœ…
v14.0.0 βœ… βœ…
v16.0.0 βœ… βœ…
v18.0.0 βœ… βœ…

How to use it

To use the product Node JS (>= 12.x) is required and GIT to clone/download the project from the public repository.

πŸ‘‰ Step 1 - Clone the project

$ git clone https://github.com/app-generator/react-purity-dashboard.git
$ cd react-purity-dashboard

πŸ‘‰ Step 2 - Install dependencies via NPM or yarn

$ npm i
// OR
$ yarn

πŸ‘‰ Step 3 - Edit the .env using the template .env.sample.

REACT_APP_BACKEND_SERVER='http://localhost:5000/api/'

REACT_APP_GITHUB_OAUTH_CLIENT_ID     = ... # Github OAuth Client
REACT_APP_GITHUB_OAUTH_CLIENT_SECRET = ... # Github OAuth Secret
REACT_APP_GITHUB_OAUTH_REDIRECT_URL  = ... # Github OAuth Callback URL

πŸ‘‰ Step 4 - Start in development mode

$ npm run start 
// OR
$ yarn start

Configure the backend server

The product comes with a usable JWT Authentication flow that provides only the basic requests: login/logout/register.

πŸ‘‰ API Server URL - src/config/constant.js

const config = {
    ...
    API_SERVER: 'http://localhost:5000/api/'  // <-- The magic line
};

API Server Descriptor - POSTMAN Collection

The API Server signature is provided by the Unified API Definition

  • API POSTMAN Collection - can be used to mock (simulate) the backend server or code a new one in your preferred framework.

Node JS API Server

The product is also open-source and is already configured to work with Berry Dashboard Template - product features:

  • Typescript / Node js / Express server
  • JWT authentication (passport-jwt strategy)
  • Persistence: SQLite

Links


Node JS API - Open-source API server built on top of Express Nodejs Framework.


Compile the API Server

Step #1 - Clone the project

$ git clone https://github.com/app-generator/api-server-nodejs.git
$ cd api-server-nodejs

Step #2 - Install dependencies via NPM or Yarn

$ npm i
// OR
$ yarn

Step #3 - Run the SQLite migration via TypeORM

$ yarn typeorm migration:run

Step #4 - Start the API server (development mode)

$ npm dev
// OR
$ yarn dev

The API server will start using the PORT specified in .env file (default 5000).



React Purity Dashboard - Provided by AppSeed.

About

React Dashboard - Purity UI Dashboard with support by @AppSeed

https://appseed.us/product/node-js-react-purity-dashboard

License:Other


Languages

Language:JavaScript 98.3%Language:HTML 1.7%Language:Shell 0.0%