Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
express-generator-react-native-typescript-apollo-graphql
Advanced tools
Express Generator CLI for React Native with Typescript and Apollo GraphQL Client
3B2R9u6dpJyWB4U6iDWC14y9yejnF5hsSN
Express Generator CLI for React Native with Typescript and Apollo GraphQL Client
This CLI helps to create new implemented front-end demo for React Native with Typescript and Apollo GraphQL Client from a boilerplate. To have a Full Stack project, or to test created demo, you can setup graphql server with using Express Generator CLI for Graphql Backend
About the NPM Package
npm install -g express-generator-react-native-typescript-apollo-graphql
Go to the directory on terminal where you want to generate the project.
$ cd PATH
and run the generator command with specifying the project name.
$ express-generator-rntag --name="PROJECT_NAME"
Documentation for the Boilerplate
When you generate the project, you will have;
This boilerplate has common graphql client design architecture. Layers:
Install the dependencies and devDependencies:
$ cd <Project Name>
$ npm install
Set configuration parameters on config/index.ts:
GRAPHQL_URL: "{{GRAPHQL API URL}}"
And that's all, start the client
$ react-native run-android
Documentation for the Generator Project
express-generator-rntag is currently extended with the following plugins. Instructions on how to use them in your own application are linked below.
Plugin | Usage |
---|---|
ejs | to render global parameters like Project Name |
inquirer | to ask questions and parse input |
shelljs | to eliminate your shell script's dependency on Unix |
yargs | to build interactive command line tools |
shx | to wrap around ShellJS Unix commands |
ts-node | to execute TypeScript and REPL for node.js, with source map support |
express-generator-rntag requires Node.js v10+ to run.
Install the dependencies and devDependencies and start the application.
$ cd express-generator-react-native-typescript-apollo-graphql
$ npm install
$ npm start
To install the CLI globally:
$ npm run-script build
$ npm install -g .
And global usage:
$ express-generator-rntag --name="PROJECT_NAME"
Authors
Sponsors
No sponsors yet! Will you be the first?
Contributors
No contributers yet! Will you be the first?
MIT
FAQs
Express Generator CLI for React Native with Typescript and Apollo GraphQL Client
We found that express-generator-react-native-typescript-apollo-graphql demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.