https://github.com/app-generator/react-material-kit
React Material Kit - Built with Automation Tools | AppSeed App Generator
https://github.com/app-generator/react-material-kit
appseed jwt-auth material-design open-source react
Last synced: 7 months ago
JSON representation
React Material Kit - Built with Automation Tools | AppSeed App Generator
- Host: GitHub
- URL: https://github.com/app-generator/react-material-kit
- Owner: app-generator
- License: other
- Created: 2019-06-08T04:07:28.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-04-10T08:53:26.000Z (over 2 years ago)
- Last Synced: 2025-03-11T05:55:54.163Z (7 months ago)
- Topics: appseed, jwt-auth, material-design, open-source, react
- Language: JavaScript
- Homepage: https://appseed.us/product/material-kit/api-server-nodejs/react/
- Size: 17 MB
- Stars: 22
- Watchers: 3
- Forks: 14
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# [React Material Kit](https://appseed.us/product/material-kit/api-server-nodejs/react/)
Start your Development with an Innovative Admin Template for **Material-UI** and **React**. `Material Kit 2 React` is built with over 40 frontend individual elements, like buttons, inputs, navbars, alerts or cards, giving you the freedom of choosing and combining. The product comes with a simple JWT authentication flow: login/register/logout.
- 👉 [React Material Kit](https://appseed.us/product/material-kit/api-server-nodejs/react/) - `product page`
- 👉 [React Material Kit](https://react-material-kit.appseed-srv1.com/) - `LIVE Demo`
> 🚀 Built with **[React App Generator](https://appseed.us/generator/react/)**
- ✅ Innovative **Material Kit Design** - Crafted by [Creative-Tim](https://bit.ly/3fKQZaL)
- ✅ React, Redux, Redux-persist
- ✅ Full-stack ready using **[Node JS API Server](https://appseed.us/boilerplate-code/nodejs-starter/)** (open-source project)
- Features: Typescript / SQLite / TypeORM / Joy (validation) / Passport library - `passport-jwt` strategy.

## Tests
> `Compatibility matrix` using Ubuntu `18.04 LTS` as reference.
| NodeJS | NPM | YARN |
| --- | --- | --- |
| `v14.0.0` | ✅ | ❌ |
| `v15.0.0` | ✅ | ❌ |
| `v16.15.0` | ✅ | ✅ |
## ✨ How to use it
To use the product Node JS (>= 14.x) is required and GIT to clone/download the project from the public repository.
> 👉 **Step #1** - Clone the project
```bash
$ git clone https://github.com/app-generator/react-material-kit.git
$ cd react-material-kit
```
> 👉 **Step #2** - Install dependencies via NPM or yarn
```bash
$ npm i
// OR
$ yarn
```
> 👉 **Step 3** - Edit the `.env` using the template `.env.sample`.
```env
REACT_APP_BACKEND_SERVER='http://localhost:5000/api/'
```
> 👉 **Step #4** - Start in development mode
```bash
$ 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`
```javascript
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](https://docs.appseed.us/boilerplate-code/api-unified-definition)
- [API POSTMAN Collection](https://github.com/app-generator/api-server-unified/blob/main/api.postman_collection.json) - 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](https://github.com/app-generator/api-server-nodejs) - source code
- [Node JS API](https://appseed.us/boilerplate-code/nodejs-starter) - product page

### Compile the API Server
> 👉 **Step #1** - Clone the project
```bash
$ git clone https://github.com/app-generator/api-server-nodejs.git
$ cd api-server-nodejs
```> 👉 **Step #2** - Install dependencies via NPM or Yarn
```bash
$ npm i
// OR
$ yarn
```> 👉 **Step #3** - Run the SQLite migration via TypeORM
```
$ yarn typeorm migration:run
```> 👉 **Step #4** - Start the API server (development mode)
```bash
$ npm dev
// OR
$ yarn dev
```The API server will start using the `PORT` specified in `.env` file (default 5000).
## [React Material Kit PRO](https://appseed.us/product/material-kit-pro/full-stack/)
> For more components, pages and priority on support, feel free to take a look at this amazing starter:
`Material Kit React PRO` is built with over 100 frontend individual elements, like buttons, inputs, navbars, alerts or cards, giving you the freedom of choosing and combining. The product comes with a simple JWT authentication flow: login/register/logout.
- 👉 [React Material Kit PRO](https://appseed.us/product/material-kit-pro/full-stack/) - Product Page
- ✅ `Enhanced UI` - more pages and components
- ✅ `Priority` on support

---
[React Material Kit](https://appseed.us/product/material-kit/api-server-nodejs/react/) - Provided by **[AppSeed](https://appseed.us/app-generator)**.