This project is an attempt to build a social media platform with only Firestore rules, so that it's Firebase free tier accessible. Explore Firebase without giving Google your credit card number.
You can visit the live site @ Cloud Lightning PWA
npm i -g firebase-tools
yarn
- Setup a new (or use and existing) firebase project. I also recommend that you double check project settings right away.
- Click on the 'web button' above the
Add an app to get started
text. - Give your app an arbitrary nickname and click the
Register App
button. - From the CLI, in the project folder, type
firebase init
to change to your project, or update .firebaserc with your project's name. - Replace my firebaseConfig in
src/database/Firebase.ts
with yours. - Build and deploy:
yarn build && firebase deploy
- Create a
src/private.ts
file with the following contents:export const clientId = "xyzSomeRandomString"; // This is the clientId for your app from spotify
yarn start