React Node Material Kit PRO

Premium React UI Kit designed by Creative-Tim, coded as a full-stack product by AppSeed

Full-stack version of React Material UI Kit, a premium design crafted by Creative-Tim powered by a Node JS API backend server. The UI comes with pre-configured JWT authentication powered by a Unified API Interface that makes this product compatible with more than one backend: Node JS, Flask, Django (FASTapi coming soon).

React Node JS - Material Kit PRO

Product features

The product expects a running API backend that exposes an interface for login/logout and register actions. By default, the guest users are redirected to the login page. Once the user is authenticated using an existing account or the new one, all private pages are accessible. Here are the steps to compile the product.

Dependencies

To use the product, a decent version of Node JS (>= 12.x) is required, and GIT command-line tool to clone/download the project from the public repository.

Step #1 - Clone the project (private repository)

Step #2 - Install dependencies via NPM or yarn

Step #3 - Start in development mode

Step #4 - Configure the backend - src/config/constant.js

Build API Server

The product is shipped with a premium Node JS API built with Express, JWT authentication, and SQLite or MongoDB persistence. Authentication Flow uses json web tokens powered by Passport library - passport-jwt.

Features

  • Simple, intuitive codebase - can be extended with ease.

  • Typescript, Data validation with Joy

  • Branches:

    • Master: NodeJS / Express / SQLite / TypeORM

    • Mongo: NodeJS / Express / MongoDB / Mongoose

  • Auth: Passport / passport-jwt strategy

How to use the code

Step #1 - Clone the project (private repository)

Step #2 - Install dependencies via NPM or yarn

Step #3 - Run the SQLite migration via TypeORM

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

Step #5 - Production Build (files generated in build directory)

Step #6 - Start the API server for production (files served from build/index.js)

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

Once both projects (frontend and backend) are up and running, we should see the login page prompted by the React UI. To pass the authentication and access the private page we need to create a new user via the registration page.

React Node JS Material Kit - Login.

React Node JS Material Kit - Team cards

React Node JS Material Kit - Team Cards.

Last updated

Was this helpful?