Skip to content

codesmith25103/boossti-frontend

 
 

Repository files navigation

Vijaa Frontend Monorepo

Next.js + React + React Native

You have to only use Yarn don't use npm

Install Dependencies:

$ yarn install 

If you want to install package from npm:

$ yarn workspace @frontend/web add <package name>

Next.js Web

Run Web Next.js:

$ yarn web

Storybook

To run stories of your storybook open a new termianl and run:

$ yarn web:storybook

Run Test Cases

To run Cypress test cases for web react components(headless - tests will run in terminal without opening the browser)

$ yarn web:test

cypress headless

To run Cypress test cases for web react components(head - tests will run in browser)

$ yarn web:test:head

cypress web Build Web:

If you only want to run a single test then you can use this command

$ yarn workspace @frontend/web run cypress run-ct --spec ./src/components/<path-to-your-test-file>
$ yarn web:build

Deploy Web:

$ yarn web:deploy

React Native

Install Pod Dependencies (Only on Mac OS):

$ yarn pod:install (if yarn didn't work try npm install pod-install)

Start metro server:

$ yarn mobile

Run android:

$ yarn android

Run ios:

$ yarn ios

Android Build

Clean the build folders:

$ yarn android:clean

Create build:

$ yarn android:build

iOS Build

Open project in xcode:

$ yarn xcode

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 52.6%
  • JavaScript 46.6%
  • CSS 0.5%
  • Java 0.2%
  • Objective-C 0.1%
  • Swift 0.0%