react-saas-template

? Template for building an SaaS or admin website using React + Material-UI

Github星跟踪图

React SaaS Template

Remains of a SaaS business I once tried to build. Now transformed into a template for building an SaaS/admin application using React + Material-UI.

Check out the demo

Node.js CI
Dependabot Status
code style: prettier

Getting Started

Prerequisites

Node.js 12+ (versions below could work, but are not tested)

Installing

  1. Clone the repository

    git clone https://github.com/dunky11/react-saas-template
    
  2. Install dependencies, this can take a minute

    cd react-saas-template
    npm install
    
  3. Start the local server

    npm start
    

Your browser should now open and show the app. Otherwise open http://localhost:3000/ in your browser. Editing files will automatically refresh the page.

What to do next?

If you are new to React, you should watch a basic React tutorial first.

If you already know React, then most of the information you need is in the Material-UI documentation.

You can go into src/theme.js and change the primary and secondary color codes at the top of the script to the values you like and some magic will happen.

Deployment

If you are happy with the state of your website you can run:

npm run build 

It will create a folder named build with your compiled project inside. After that copy its content into your webroot and you are ready to go.

Build With

Things im currently working on

  • Improving the encapsulation of components
  • smoothScrollTop() sometimes stops scrolling top when components with big height are still rendering
  • When a Dialog is opened there is a margin on the right side of the viewport (could be that this is not fixable without shaking the viewport on dialog open)
  • shadeColor() throws errors on certain color codes
  • Adding iDEAL, FBX and PaymentRequestButton to avaible payment methods

Contribute

Show your support by ⭐ the project. Pull requests are always welcome.

License

This project is licensed under the MIT License - see the LICENSE.md file for details.

主要指标

概览
名称与所有者dunky11/react-saas-template
主编程语言JavaScript
编程语言JavaScript (语言数: 3)
平台
许可证MIT License
所有者活动
创建于2020-01-30 23:38:23
推送于2024-05-04 19:19:41
最后一次提交2022-03-10 13:17:22
发布数0
用户参与
星数1.9k
关注者数37
派生数423
提交数1.3k
已启用问题?
问题数12
打开的问题数2
拉请求数433
打开的拉请求数19
关闭的拉请求数194
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?