Install dependencies from package.json by running the following command in your terminal.
npminstall
Step 3: Insert your publishable API key
Open the repository in any code editor and locate the file named _app.tsx
Within that file you'll see a line of code that looks like this:
constapiKey="YOUR_PUBLISHABLE_KEY_GOES_HERE";
Replace YOUR_PUBLISHABLE_KEY_GOES_HERE with your publishable key, which you can find on your picket dashboard once you have logged in.
Step 4: Run App and Test
Run the following in your terminal to run the app:
npmrundev
To test the app go to any browser and go to localhost:3000 to see the following:
You can now click on that button to experience log in for yourself. You also have the cloned repository on your computer for inspection. You can mess with it to learn and start building your next project.
If you have any issues getting to this point, feel free to reach out to us at [email protected]