An opinionated full desktop and web development suite.
-
- Create-React-App
- React-Router
- Victory Charts
-
- Subscription System
- Manage cards on file.
-
- Build for Mac & Windows using electron-build-tools.
- IPC Messaging
- Copy + Paste (Because it's not enabled by default 0.o)
-
- Realtime Database
- Firebase Auth + Error Handling
-
- Web Socket client support
-
- Full access to the suite of react-semantic-ui components for UI work.
-
- Easy theme customization with semantic-ui and LESS.
-
To install all dependencies run:
yarn install
-
Run
yarn start
A test account is made available under
email: [email protected]
password: example
To extend the starter project to fit your needs first start with a fresh firebase project to configure the authentication.
At the base minimum firebase needs to be configured with authentication to bypass the initial authentication screen.
- Edit
src/constants.js
to configure your API keys.
-
Setup firebase and replace the CONFIG object with your information.
-
In the authentication tab on firebase enable Email/Password login.
-
Create an account via the app.
///// GENERAL /////
export const TITLE = "Company";
export const STRIPE_ENABLED = true;
export const AUTH_ENABLED = true;
///// DATABAESES /////
export const SOCKET_URL = "";
// Add your firebase configuration here.
export const CONFIG = {
};
///// PUBLIC API KEYS /////
export const STRIPE_KEY = "";
export const GA_KEY = "";
Replace semantic-ui.css
inside HTML with generated semantic-ui.css
file inside public.
Stripe requires a bit more set-up and the companion server to watch for subscription updates and payment changes.
To run a development server: yarn start
To build the app for electron local run: yarn build && yarn electron
yarn test
yarn build
Hosting is configured for base access with firebase. Run firebase init
and select your desired project. firebase deploy
will automatically upload the contents of the /build
folder to your server.
If you're just deploying to web you can stop here. If you're creating an app binary continue on...
Assuming you've followed the first step.
yarn pack
Builds .dmg and .app for distribution. Files from /build folder
- a.
yarn dist-mac
Builds .dmg and .app for distribution. Files from /build folder
- b.
yarn dist-win
- Add theming build directions.
- Add icon configuration
- Setup google analytics
- Configure + extend testing suite.
- Command-line tool? ;)
- Auto generate icons.
- Componetize subscription system. Add payments?