π»Frontend Setup
Setting up the frontend locally
Once you have cloned the Digitomize repository and installed the dependencies in the root directory. You can take the following steps to configure the frontend of the application.
1. Navigate to the client directory
cd digitomize/client2. Install the dependencies for the frontend
npm install3. Creating a Firebase project
You will need a Firebase application to get values for the environment variables. Create a firebase application by following these instructions:
Go to Firebase.
Create an account or log in to your existing account.
Add a project.
Add a web app
Add Firebase SDK to the web app
The firebaseConfig variable contains all the values required in the .env file.
const firebaseConfig = {
apiKey: "IKNdsaKsdabdGL5iuywrfHUIKBubkjbJGDfIBHUGnkjVA",
authDomain: "sample-u78nb.firebaseapp.com",
projectId: "sample-u78nb",
storageBucket: "sample-u78nb.appspot.com",
messagingSenderId: "872459742932",
appId: "9:872459742932:web:&8ufnhjbhbj89nu8b",
measurementId: "G-YTUTY89kFT",
};4. Configure the environment variables
To add the Firebase configuration properties to the environment variables by:
Creating a
.envfileCopying the
.env.examplefile or using this template
5. Run the server.
To confirm that the frontend application is working, start the development server.
Yay! Your frontend application is working.ππ
Next, you will setup the backend.
Last updated
