Skip to content

Instantly share code, notes, and snippets.

@rajesh-tsg
rajesh-tsg / build-flutter-pwa.md
Last active July 28, 2021 06:21
Steps to build a Flutter-PWA

FLUTTER AND PROJECT SETUP

  • Setup flutter for web flutter channel master

  • Download the latest dart SDK or any flutter updates/upgrades flutter doctor -v

  • Now enable the Web Support flutter config --enable-web

@rajesh-tsg
rajesh-tsg / build-reactjs-pwa.md
Last active July 18, 2021 14:27
Steps to build a ReactJS-PWA
  • Create a PWA Enabled ReactJS App using the command: npx create-react-app <YOUR APP NAME> --template cra-template-pwa

  • Navigate into the created folder/directory: cd <YOUR APP NAME>

  • To run your app in the development mode: npm start

  • Register a Service Worker

@rajesh-tsg
rajesh-tsg / README.txt
Created June 21, 2021 04:31
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.4.26+commit.4563c3fc.js&optimize=false&runs=200&gist=
REMIX EXAMPLE PROJECT
Remix example project is present when Remix loads very first time or there are no files existing in the File Explorer.
It contains 3 directories:
1. 'contracts': Holds three contracts with different complexity level, denoted with number prefix in file name.
2. 'scripts': Holds two scripts to deploy a contract. It is explained below.
3. 'tests': Contains one test file for 'Ballot' contract with unit tests in Solidity.
SCRIPTS