A social news platform, similar to Medium, where registered users can read and share news articles with the community.
- Framework: Next.js
- UI Library: React
- Styling: Tailwind CSS
- Forms: React Hook Form + Zod validation
- Authentication: Clerk
- UI Components: shadcn UI
- Icons: Lucide React
- Testing: Jest (unit/integration) + Playwright (E2E)
- Node.js 20.x or higher (see
.nvmrc
) - pnpm package manager
-
Clone the repository:
git clone https://github.com/rgllm/swordium.git cd swordium
-
Install dependencies:
pnpm install
-
Set up environment variables: Create or modify
.env.local
with necessary credentials -
Start the development server:
pnpm dev
-
Open http://localhost:3000 in your browser to see the application.
Run tests with:
pnpm test
Run E2E tests in headless mode:
pnpm test:e2e
Run E2E tests with UI mode:
pnpm test:e2e:ui
E2E tests are located in the e2e
directory at the project root.