This project is my solution for the Interactive Comments Section on Frontend Mentor.
Tech stack:
- pnpm monorepo with Turborepo task runner
- Web
- Next.js with the new
app
directory - Tailwind CSS for styling
- Playwright for testing
- Next.js with the new
- Native
- Expo
- React Native
- Web
- TypeScript
- Prettier for code formatting
- ESLint for code consistency and best practices
-
This monorepo uses pnpm.
-
Web integration tests run on Playwright. Playwright browsers must be installed with the command:
pnpx playwright install
-
For the native app, you can install Expo Go to run the app on your phone.
Node dependencies need to be installed for the project to run:
pnpm -r i
To start the web application, run:
pnpm dev:web
To start the native application, run:
pnpm dev:native
Note: currently the native application does not work. Being in a monorepo with pnpm, Expo has some problems starting up:
If I had more time, I would try switching to Yarn to see if the problem goes away.
To run integration tests for web, run:
pnpm test:web