/react-horizon-ui-chakra

React Horizon UI - Full-Stack Open-Source Starter | AppSeed.us

Primary LanguageJavaScriptMIT LicenseMIT

React Horizon UI ⚡️

Designed for those who like modern UI elements and beautiful websites. Made of hundred of elements, designed blocks and fully coded pages, React Horizon UI is ready to help you create stunning websites and webapps. The product comes with a simple JWT authentication flow: login/register/logout powered by an open-source Node JS API Backend via Passport Library.


Features

  • ✅ Modern aesthetics UI design - Designed by Simmmple
  • ✅ Styled with Chakra Ui, Dark-Mode
  • ✅ Authentication: JWT Login/Register/Logout
  • Full-stack Ready using a Node JS API Server (open-source project) - Server Features
    • Typescript / SQLite Persistence / TypeORM / Joy (validation)
    • Passport library - passport-jwt strategy.

Links


React Horizon UI - Full-Stack starter provided by AppSeed and Simmmple.


Note: This product can be used with other API Servers for a complete full-stack experience. ALL API servers use a unified interface


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-horizon-ui-chakra.git
$ cd react-horizon-ui-chakra

Step 2 - Install dependencies via NPM or yarn

$ npm i
// OR
$ yarn

Step 3 - 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 / NodeJS / Express Server
  • JWT authentication (passport-jwt strategy)
  • Persistence: SQLite / TypeORM

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

$ npm run typeorm migration:run
// OR 
$ yarn typeorm migration:run

Step 4 - Start the API server (development mode)

$ npm run dev
// OR
$ yarn dev

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



React Horizon UI - Provided by Simmmple and AppSeed App Generator.