Inside the src/screens
directory we can find all the app routes with its internal components.
Inside the src/shared
directory we can find all the components,assets, services, redux stuff that are shared between all the app components
You should create a .env.local
file in the project root directory with the following lines of code inside.
VITE_API_URL=https://cross-court-testing.herokuapp.com/api/v1
VITE_URL=http://localhost:3000
VITE_GOOGLE_ANALYTICS_CODE=UA-111654318-1
VITE_GOOGLE_MAPS_API_KEY=AIzaSyDLr9IoxSVY-V0lN_Z7-EDjFWei2F6a55Y
VITE_STRIPE_API_KEY=pk_test_ruSiCBKu2EJm5li5MQ69Q5h900wyV2yYKw
VITE_SO_APPLICANT_LINK=https://crosscourt.bamboohr.com/jobs/view.php?id=21
VITE_SEM_APPLICANT_LINK=https://crosscourt.bamboohr.com/jobs/view.php?id=21
VITE_FACEBOOK_LINK=https://www.facebook.com/CrossCourtBall/
VITE_TWITTER_LINK=https://twitter.com/crosscourtball
VITE_INSTAGRAM_LINK=https://instagram.com/crosscourt
VITE_LINKEDIN_LINK=https://www.linkedin.com/in/crosscourt-basketball-42539b162
To run the application in development mode
yarn install
yarn start
To run the production build.
yarn install
yarn run build
Build files should be located at the build
directory