Morgan Chat API is a robust backend service designed to simplify financial data. It leverages Google's Gemini LLM for translating complex financial jargon into simple, understandable language.
Built with NestJS, it provides a scalable and efficient server-side application. The API uses gRPC for high-performance remote procedure calls, Drizzle ORM for handling database operations, and pgvector for efficient vector search and similarity ranking. This API forms the backbone of the Morgan Chat project, powering its ability to make financial data accessible to everyday people.
pnpm install
# development
-
git clone https://github.com/kwadwoatta/morgan-chat-api.git
-
copy .env.example to .env and fill them out
-
pnpm install
-
docker compose up dev-db redis -d
-
pnpm drizzle-kit generate:pg
-
pnpm tsx db/migrate.ts
-
pnpm start:dev ai
-
pnpm start:dev gateway
# unit tests
$ pnpm run test
# e2e tests
$ pnpm run test:e2e
# test coverage
$ pnpm run test:cov
- Author - Prince Ofori
- Twitter - @KwadwoTheAtta
Morgan Chat API is MIT licensed.