• Stars
    star
    2,601
  • Rank 17,613 (Top 0.4 %)
  • Language
    TypeScript
  • Created almost 4 years ago
  • Updated about 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A well-structured production-ready frontend boilerplate with Typescript, React Testing Library, styled-component, React Query, .env, Axios, Bundle Analyzer, Prettier and 30+ plugins. superplate creates projects for React.js, Next.js, and refine. https://pankod.github.io/superplate/

superplate example


A well-structured production-ready frontend boilerplate with Typescript, React Testing Library, styled-component, React Query, .env, Axios, Bundle Analyzer, Prettier and 30+ plugins.
superplate creates ready-to-develop projects for React and Next.js and refine.

Meercode CI Score Meercode CI Success Rate Maintainability npm version npm

Created by Pankod

About

superplate lets you start rock-solid, production-ready React, Next.JS and refine projects just in seconds. The command-line interface guides the user through setup and no additional build configurations are required.

Superplate ships with +30 plugins including popular UI Kits, testing frameworks and many useful developer tools.

Quick Start

To use superplate, make sure you have npx is installed on your system (npx is shipped by default since npm 5.2.0).

To create a new app without using presets, run the following command:

npx superplate-cli my-project

You will be prompted with plugin options to create your project. A full list of avaiable plugins is here: superplate-core-plugins.

Available Integrations

Next.js


superplate makes it easier to get up and running with a well-structured Next.js and TypeScript application.

To get started quickly, please run the following command. The CLI wizard will assist you for the rest of the setup process:

npx superplate-cli -p nextjs my-project

React.js


superplate makes it easier to get up and running with a well-structured Create React App and TypeScript application.

To get started quickly, please run the following command. The CLI wizard will assist you for the rest of the setup process:

npx superplate-cli -p react my-project

refine ⚡

refine is an open source React framework for building CRUD apps rapidly.

superplate provides built-in templates for CRA, Next.js and Remix environments so you can bootstrap a refine project in a couple of minutes.

Refer to refine repository for more information ➡️


how-works-refine

To get started quickly, please run the following command. The CLI wizard will assist you for the rest of the setup process:

npx superplate-cli -p refine my-project

Coming Soon

We are planning to add the following frameworks integrations soon.


Documentation

For more detailed information and usage, you may refer to our documentation pages.

Philosophy

  • It provides an easy starting to your project by leveraging industry-standard best practices and and performance oriented tools.
  • Fully extensible due its plugin based architechture.
  • Code examples are added to plugin documents to show how best practices are implemented.

Plugins

superplate uses a plugin-based architecture. Basically, plugins are created from popular npm tools with configuration files. You can check them out in superplate-core-plugins.

The default core plugins determined by Pankod team. Feel free to send PR or open an issue for new plugins you want to add.

Using a custom source of plugins

You can use different sources for plugins other than superplate-core-plugins.

Simply add --source <path-to-source> option to use superplate with a custom source.

To learn more about sources and how to create your own; please check out documentation

Creating a plugin

superplate gives you many abilities to create your own plugin and interact with the others. To learn more on creating a plugin, please check out documentation

Available plugins

CLI options

> npx superplate-cli --help
Usage: superplate [options]

Options:
 -v, --version                   prints version number
 -h, --help                      prints help information on all commands and options
 -d, --debug                     prints additional logs
 -s, --source <path-to-source>   Use this option to target a custom source of plugins
                                 Source path can be a remote git repository or a local path.
 -p, --project <project-type>    In sources with multiple types, you can use this option to preset the type.
 -b, --branch <branch-name>      If your source is a git repository, you can define a custom branch for `superplate` to use.
 -o, --preset <preset-name>      If your source includes presets, you can select one of them to prefill the answers.
 -l, --lucky                     You can select random choices with this option, if you are feeling lucky.

Development mode commands

Watches for changes in the code; builds the project and then globally installs superplate for testing.

npm run dev:global

Create a build inside /lib directory.

npm run build:cli

Install the current build globally:

npm run global

Contribution

If you have a bug to report, do not hesitate to file an issue.

If you are willing to fix an issue or propose a feature; all PRs with clear explanations are welcome and encouraged.

License

Licensed under the MIT License, Copyright © 2021-present Pankod

More Repositories

1

next-boilerplate

A well-structured production ready Next.js boilerplate with Typescript, Redux, Jest, Enzyme, Express.js, Sass, Css, EnvConfig, Fetch, Reverse Proxy, Bundle Analyzer and Built-in Project CLI. https://pankod.github.io/next-boilerplate/
TypeScript
1,558
star
2

svelte-boilerplate

Svelte application boilerplate with Webpack, Babel, PostCSS, Sass, Fetch, Jest, .Env, EsLint.
JavaScript
288
star
3

canvas2video

canvas2video is a backend solution for creating and rendering dynamic videos.
TypeScript
244
star
4

react-native-picker-modal-view

An unified React Native Picker Modal component for iOS and Android.
TypeScript
201
star
5

moleculerjs-boilerplate

A well-structured Moleculer JS Boilerplate with Typescript, CLI, Service Helpers, Swagger, Jest support and everything you'll ever need to deploy rock solid projects. https://pankod.github.io/moleculerjs-boilerplate/
TypeScript
188
star
6

react-native-boilerplate

A well-structured React Native Boilerplate with Typescript, Redux, Jest & Enzyme support and everything you'll ever need to deploy rock solid apps.
TypeScript
83
star
7

react-native-store-rating

Ratings and reviews influence how your app ranks in search results, and can affect whether someone downloads your app. Users can rate your app on a scale of desired amount of stars.
TypeScript
81
star
8

superplate-core-plugins

TypeScript
46
star
9

frontend-challenge

The recruitment test to apply for an Front-End developer role at Pankod
40
star
10

pankod-cli

Save a lot of time by generating services, components, tests for Pankod Boilerplate projects.
TypeScript
29
star
11

react-hooks-example

React Hooks Example
JavaScript
23
star
12

react-hooks-screen-type

Determining screen size type for Bootstrap 4 grid.
JavaScript
15
star
13

react-typescript-npm-package-boilerplate

TypeScript
12
star
14

typescript-enum-helper

typescript enum helper example
TypeScript
7
star
15

sapper-boilerplate

JavaScript
7
star
16

docusaurus-boilerplate

Thanks to this project, it’ll be too easy to add documentation site to pankod open source projects.
JavaScript
7
star
17

react-checkbox

React checkbox component
JavaScript
7
star
18

react-native-photo-gallery-view

6
star
19

superplate-react-core-plugins

TypeScript
6
star
20

project-splash

Thanks to this component, it’ll be too easy to add splash to pankod open source projects.
HTML
6
star
21

cli-boilerplate

Thanks to this project, it’ll be too easy to add CLI to Pankod projects.
TypeScript
5
star
22

expo-boilerplate

Thanks to this project, it’ll be too easy to add example to Pankod open source projects.
HTML
4
star
23

react-hooks-show-more-text

Handle showing more text / less text with react hooks
JavaScript
4
star
24

react-rating-star

3
star
25

react-native-rating-modal

TypeScript
2
star
26

typescript-npm-package-boilerplate

TypeScript
2
star
27

next-html

Import html in Next.js
JavaScript
1
star