Skip to content

Commit

Permalink
move off firebase cost $120 last month lol :( to SST
Browse files Browse the repository at this point in the history
  • Loading branch information
s-alad committed Jun 22, 2024
1 parent 07c8806 commit 80309f3
Show file tree
Hide file tree
Showing 8 changed files with 21 additions and 72 deletions.
27 changes: 0 additions & 27 deletions .github/workflows/firebase-hosting-merge.yml

This file was deleted.

23 changes: 0 additions & 23 deletions .github/workflows/firebase-hosting-pull-request.yml

This file was deleted.

5 changes: 0 additions & 5 deletions client/.firebaserc

This file was deleted.

3 changes: 1 addition & 2 deletions client/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,11 @@ next-env.d.ts
# sst
.sst
sst-env.d.ts
sst.config.ts

# open-next
.open-next

# firebase for current deployment
# firebase
# firebase.json
# .firebaserc
.firebase
13 changes: 0 additions & 13 deletions client/firebase.json

This file was deleted.

1 change: 0 additions & 1 deletion client/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,6 @@ export default function Home() {
</div>
</div>
<div className={s.info}>
<p>Posting & commenting have been fixed!</p>
<p>TooFake is currently working (I think??) but needs <span>your help!!!</span></p>
<p>BeReal continues to beef up its security making it much harder to reverse engineer. If you are well versed in reverse engineering, please check out the <a href="https://github.com/s-alad/toofake"><FontAwesomeIcon icon={faGithub} /> github</a> and help us keep the befake project working!</p>
{/* <p>You can login using your phone number, view bereals and post custom images.</p>
Expand Down
19 changes: 19 additions & 0 deletions client/sst.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
/// <reference path="./.sst/platform/config.d.ts" />

export default $config({
app(input) {
return {
name: "client",
removal: input?.stage === "production" ? "retain" : "remove",
home: "aws",
};
},
async run() {
new sst.aws.Nextjs("ToofakeSST", {
domain: {
domainName: "toofake.lol",
redirects: ["www.toofake.lol"],
}
});
},
});
2 changes: 1 addition & 1 deletion client/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@
}
},
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"],
"exclude": ["node_modules","sst.config.ts"]
"exclude": ["node_modules", "sst.config.ts"]
}

0 comments on commit 80309f3

Please sign in to comment.