wownar-react-native
is an expo app that demonstrates the integration of SIWN.
- Node.js: A JavaScript runtime built on Chrome's V8 JavaScript engine. Ensure you have Node.js installed on your system.
- Expo Go: Install Expo Go on your phone
-
Navigate to server directory: Navigate to the server directory
cd server
-
Install Project Dependencies: Based on the package manager run one of the following commands to install all required dependencies:
For yarn
yarn install
For npm
npm install
-
Configure Environment Variables:
- Copy the example environment file:
cp .env.example .env
- Edit
.env
to add yourNEYNAR_API_KEY
andNEYNAR_CLIENT_ID
.
- Copy the example environment file:
-
Start the server: For yarn
yarn start
For npm
npm run start
Open new terminal
-
Navigate to server directory: Navigate to the client directory
cd client
-
Install Project Dependencies: Based on the package manager run one of the following commands to install all required dependencies:
For yarn
yarn install
For npm
npm install
-
Configure Environment Variables:
- Copy the example environment file:
cp .env.example .env
- Edit
.env
to add yourCOMPUTER_IP_ADDRESS
. Refer find-IP-address article to get IP address of your Computer
- Copy the example environment file:
-
Start the app: (Make sure your phone and computer is connected to the same network)
For yarn
yarn start
For npm
npm run start
you'll see a QR Code
-
Run App:
Open Expo Go app on your phone and scan the QR Code
wownar-react-native
is released under the MIT License. This license permits free use, modification, and distribution of the software, with the requirement that the original copyright and license notice are included in any substantial portion of the work.