Giter VIP home page Giter VIP logo

reaz1995 / electron-typescript-react-playwright-pg-boilerplate Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 210 KB

Techs: Electron, Typescript, React, Playwright with stealth mode, Postgress, Scss, MUI,

HTML 2.02% TypeScript 97.98%
electron electron-app react react-router typescript webpack scss mui playwright web-automation postgresql boilerplate electron-react react-typescript playwright-typescript

electron-typescript-react-playwright-pg-boilerplate's Introduction

CONTENTS OF THIS FILE

  • INTRODUCTION
  • REQUIREMENTS
  • RECOMMENDED TOOLS
  • INSTALLATION
  • INSTALLATION
  • GETTING STARTED
  • PACKING

INTRODUCTION

Ready to go boilerplate for electron app with typescript, react, mui, pg, playwright


REQUIREMENTS

Development on Windows

Development on Windows with WSL (Ubuntu)


RECOMMENDED TOOLS


INSTALLATION

Windows:

  • Install Nodejs

  • Install posgressql

  • add environment variables PATH for user and system to postgres lib and bin

Example:
 C:\Program Files\PostgreSQL\14\lib\
 C:\Program Files\PostgreSQL\14\bin\

Wsl:

  • Install Nodejs

  • Install posgressql

  • Install Xmming on Windows

Set up display:

Run it > check 'Multiple Windows' > next > next > check 'disable access control' > next > Finish

GETTING STARTED

  1. Download repo:
git clone https://github.com/reaz1995/electron-typescript-react-playwright-pg-boilerplate.git myapp
  1. Navigate to the project root
cd myapp
  1. install dependencies
npm install
OR
yarn install
  1. Run in development mode
npm run dev
OR
yarn dev

// ON WSL, BEFORE RUNNING THEP ROJECT SET UP DISPLAY

Run it every new instance of terminal or include in profile of bash

export DISPLAY=$(cat /etc/resolv.conf | grep nameserver | awk '{print $2}'):0

To exit running App use shortcut:

Ctrl + W

PACKING

Run below command to build your app

npm run package

Builder will create your app for Windows, Linux, mac.

To build app on Linux/wsl for Windows install WineHQ and Mono https://www.electron.build/multi-platform-build.html#to-build-app-for-windows-on-linux

electron-typescript-react-playwright-pg-boilerplate's People

Stargazers

 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.