Skip to content

Commit

Permalink
feat: add firebase-admin
Browse files Browse the repository at this point in the history
  • Loading branch information
qin-guan committed Sep 17, 2023
1 parent 01cfc48 commit 06c2659
Show file tree
Hide file tree
Showing 6 changed files with 1,164 additions and 72 deletions.
65 changes: 7 additions & 58 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,63 +1,12 @@
# Nuxt 3 Minimal Starter
# SST Alumni Web App

Look at the [Nuxt 3 documentation](https://nuxt.com/docs/getting-started/introduction) to learn more.
This repository contains both the web app and the API for the SST Alumni platform.

## Setup
[iOS App](https://github.com/sstalumniassociation/ios)

Make sure to install the dependencies:
## Getting Started

```bash
# npm
npm install
Please get access or set up the following services:

# pnpm
pnpm install

# yarn
yarn install
```

## Development Server

Start the development server on `http://localhost:3000`:

```bash
# npm
npm run dev

# pnpm
pnpm run dev

# yarn
yarn dev
```

## Production

Build the application for production:

```bash
# npm
npm run build

# pnpm
pnpm run build

# yarn
yarn build
```

Locally preview production build:

```bash
# npm
npm run preview

# pnpm
pnpm run preview

# yarn
yarn preview
```

Check out the [deployment documentation](https://nuxt.com/docs/getting-started/deployment) for more information.
* Turso
* Firebase
4 changes: 4 additions & 0 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,9 @@ export default defineNuxtConfig({
url: '' || process.env.TURSO_URL,
authToken: '' || process.env.TURSO_AUTH_TOKEN,
},
firebase: {
config: '' || process.env.FIREBASE_CONFIG,
databaseUrl: 'https://sstaa-app-default-rtdb.asia-southeast1.firebasedatabase.app' || process.env.FIREBASE_DATABASE_URL,
},
},
})
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"drizzle-kit": "^0.19.13",
"drizzle-orm": "^0.28.6",
"eslint": "^8.49.0",
"firebase-admin": "^11.10.1",
"nuxt": "^3.7.3"
}
}
Loading

0 comments on commit 06c2659

Please # to comment.