This project is a BFF (Backend for Front-end) study in order to deep into the fundamentals of BFF concepts.
- NodeJS
- Typescript
- Express
- Docker
Make sure you have docker and docker compose installed
- Install posts-bff-mobile dependencies with your prefered package manager
cd posts-bff-mobile & pnpm install
- Install posts-service dependencies
cd posts-service & pnpm install
- Run the apps
docker compose up -d
- Services will be running at port:
posts-service
: 3000posts-bff-mobile
: 3001
- Then, test the bff
curl "http://localhost:3001/posts?limit=10"