This is an example of how you can run a project locally. To run a local copy, follow these simple steps as an example.
Current version of node: 16.14.0
- Register on https://firebase.google.com/ in order to get a free API Key
- Clone the repo
console
git clone [email protected]:awicone/pfofile-react-firebase.git
- Install required packages
console
yarn
- In root derictory create an .env file with the following variables (available in .env.example file)
VITE_API_KEY="" VITE_AUTH_DOMAIN="" VITE_PROJECT_ID="" VITE_STORAGE_BUCKET="" VITE_MESSAGING_SENDER_ID="" VITE_APP_ID=""
- Run this project!
console
yarn dev
In order to perform authorization, you need to create a user in your Firebase personal account (console). After logging in, the user will have access to all the functions of the application.