Skip to content

Commit

Permalink
docs: update README with tech stack and environment variables
Browse files Browse the repository at this point in the history
  • Loading branch information
Veirt committed Nov 25, 2024
1 parent b57ff53 commit 35e9768
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
19 changes: 19 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
## Tech Stack

- **Express.js**: Web framework for building REST APIs.
- **Drizzle**: An ORM (Object-Relational Mapping) tool that simplifies interactions with the PostgreSQL database.
- **Google Cloud Storage**: Used for storing profile pictures and chat images.
- **Firebase Realtime Database**: Real-time database for managing user interactions between learners and tutors.

## Environment Variables

The application requires the following environment variables to be set:

- `FIREBASE_SERVICE_ACCOUNT_KEY`: JSON string containing the Firebase service account key.
- `FIREBASE_DATABASE_URL`: URL of the Firebase Realtime Database.
- `GCS_BUCKET_NAME`: Google Cloud Storage bucket name for storing images.
- `DATABASE_URL`: PostgreSQL database connection URL.
- `JWT_SECRET`: Secret key for signing JWT tokens used for authentication.
- `GROQ_KEY`: API key for Groq, used to generate teaching methodologies for tutors. Only necessary if you are running the seeders.

See [Development Guide](docs/development-guide.md) and [Common Issues](docs/common-issues.md) for more information.
2 changes: 2 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,6 @@ services:
- FIREBASE_SERVICE_ACCOUNT_KEY=
- FIREBASE_DATABASE_URL=
- GCS_BUCKET_NAME=
- DATABASE_URL=
- JWT_SECRET=
restart: on-failure:5

0 comments on commit 35e9768

Please sign in to comment.