Non-Zone application is the global map for experiential and solo-travelers. "Pin" a new location, or discover a new "magic" place. Anywhere, at any time.
First available release (mobile preferly): https://non-zone.web.app
Here you can find the description: https://devpost.com/software/non-zone
Main stack: React, JavaScript, TS, CSS, HTML, NodeJS, Firebase
Collaborators: Sergey Rudenko, Dmitrii Yudakov
Fork the project and then clone your fork. Read more about Fork & PR strategy
git clone git@github.com:<YOUR_GITHUB_USER>/non-zone.git
cd non-zone/
The project has 3 main modules:
- app - react-native app
- webapp - create-react-app based webapp
- nonzone-lib - create-react-library based library with common functions for app/webapp
- functions - Firebase Cloud functions used for API and DB triggers
The project is a monorepo with app, webapp and nonzone-lib modules. functions are separate for the moment.
Run yarn install
initially in project root or one of the monorepo modules. Run it also in functions.
yarn install
Start building nonzone-lib module:
cd nonzone-lib/
yarn start
In separate console run in development mode app and/or webapp.
cd webapp/
yarn start
cd app/
yarn start
In case of app issues, try running it with expo start --clear.
See the instructions printed in console for more information.
Use env variables REACT_APP_NONZONE_ENV for webapp and REACT_NATIVE_NONZONE_ENV for expo app to define production environment or development (default, used if unset).
In webapp/
REACT_APP_NONZONE_ENV=production yarn start
or
REACT_APP_NONZONE_ENV=production yarn build
In app/
REACT_NATIVE_NONZONE_ENV='production' yarn start
Setup Firebase CLI if you haven't - more details here
In project root execute either yarn deploy:dev
or yarn deploy:prod
command - it will set the appropriate environment variable, build the nonzone-lib and webapp module and deploy webapp, functions along with database.rules.
Use yarn aw:build:dev or yarn aw:build:prod commands for DEV/PROD builds using Arweave integration. Then deploy with yarn aw:deploy.
yarn aw:build:prod
yarn aw:deploy --key-file arweave.wallet.json