Giter Club home page Giter Club logo

bestproduct-bestdeveloper-typescript's Introduction

BestProduct - BestDeveloper

BestProduct helps developers to build successful applications, available on iOS, Android, Windows, macOS, BestOS, Linux and all the Unix like operating systems with the ultimate power of NodeJS and JavaScript in your hands.

Built with:

React NodeJS Electron.js C++ Python TypeScript Firebase Google Chrome

๐Ÿ’ป Get Started

Tip

First, create a full-stack project in your BestDeveloper Portal, using JavaScript as the default language.

Clone this repository: git clone https://github.com/BestMat/bestproduct-bestdeveloper.git

Goto the directory: cd bestproduct-bestdeveloper

Use the tools that you โค๏ธ

My Skills

Install all your favourite tools in NodeJS by NPM. For React and other frameworks, use the CDN or Node Dependency.

Install the needed dependencies: npm install

๐Ÿ’ป Edit your App

Edit your index.html file and add your CSS and JavaScript Files in the src directory.

Testing product for desktop (Windows, macOS, Linux) - development build

In your server.js(Node file), call the function startDevServer, and give the first parameter as "desktop", and the second parameter, as a function. Inside this anonymous function, type what do you want to do, when the application has started.

bestproduct.startDevServer("desktop", function(){ // you can also use ES6 arrow functions
   console.log("My application has started!");
});

Now run the server.js file - node server.js


Testing product for desktop (Windows, macOS, Linux) - production build

In your server.js(Node file), call the function startDevServer, and give the first parameter as "desktop", and the second parameter, as a function. Inside this anonymous function, type what do you want to do, when the application has started, for the third parameter, type windows or mac or linux or bestos

bestproduct.startProductionServer("desktop","windows/mac/linux/bestos", function(){ // you can also use ES6 arrow functions
   console.log("My application has started!");
});

Now run the server.js file - node server.js

Product config for bestproduct.config.json:

The bestproduct.config.json is the main configuration file. Data from config, is used to configure the application.

1. applicationName key

This is a mandatory field. Enter your application as the value of this key. The defualt value is "Test".

2. version key

This is also a mandatory field. It creates a package.json file (Node package). It is your version control system your application.

3. packages key

This is also a mandatory field. It imports the given dependencies. If there are no packages to import, leave it as empty. Do not keep it as null or undefined or false

4. styles and script keys

This is mandatory. Enter your script and the style directory respectively.

5. buildType

This is mandatory. When you are developing the product, please change the value to development. When you are going to publish the app to Google Play Store or App Store or the operating system's defualt store app, change it to "production".

6. react-jsx

This is mandatory. If your product is using **React** - The framework for building UI websites by Facebook, or using JSX set this as to true, and add a property in the packages key as react, babel, and the needed packages for a development build of React.

typescript

This is mandatory. If your product is using **TypeScript** - the strict type language for JavaScript, set this as to true

bestproduct-bestdeveloper-typescript's People

Contributors

bestmat avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.