Taskbuddy app for web
This guide outlines the necessary steps to run the project locally for the web.
- Git installed on your computer.
- Node.js (LTS version recommended) and npm (installed with Node.js).
- Expo CLI installed globally:
npm install -g expo-cli
- A Firebase account to obtain the configuration keys.
-
Clone the repository: Open your terminal or command prompt and navigate to the directory where you want to clone the project. Run the following command:
git clone https://github.com/YuuyaOkatani/TaskBuddyWeb.git
-
Install dependencies: Navigate to the project directory that was cloned:
cd TaskBuddyMobileThen, install the project dependencies using npm:
npm i --legacy-peer-deps
This command will download and install all the libraries listed in the
package.jsonfile. -
Configure Firebase keys: Create a file named
.envin the root of your project. Inside this file, you will need to add your Firebase project's configuration keys. The content of the.envfile should look something like this (replace with your own keys):FIREBASE_API_KEY=YOUR_API_KEY FIREBASE_AUTH_DOMAIN=YOUR_AUTH_DOMAIN FIREBASE_PROJECT_ID=YOUR_PROJECT_ID FIREBASE_STORAGE_BUCKET=YOUR_STORAGE_BUCKET FIREBASE_MESSAGING_SENDER_ID=YOUR_MESSAGING_SENDER_ID FIREBASE_APP_ID=YOUR_APP_ID # Add other Firebase configurations as neededImportant: Do not share your
.envfile and make sure it is listed in your.gitignorefile to prevent the keys from being committed to the repository. -
Start the Expo app for the web: To run the application in your web browser, execute the following command:
npx expo start --web
This command will start the Expo development server and automatically open the application in your default web browser.
With the steps above completed, your application should be running in your web browser. You can now start exploring and using the project!
