Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Appifylab Social Feed

React + Express implementation of the provided Buddy Script login, registration, and feed task.

Stack

  • React 19 + Vite + HeroUI + Tailwind 4
  • React Query for server state
  • Zustand for UI state
  • Express + Prisma + Zod
  • Supabase Postgres and private Storage
  • Docker-ready for Dokploy

Setup

npm install
cp .env.example .env
npm run prisma:generate
npm run prisma:migrate
npm run dev

Create a private Supabase Storage bucket named post-images, then add your Supabase URL and service role key to .env.

Deployment

Build the Docker image in Dokploy from this repository. Configure the environment variables from .env.example, point DATABASE_URL and DIRECT_URL to Supabase Postgres, and set Google OAuth redirect URI to:

https://your-domain.com/api/auth/google/callback

E2E Testing

End-to-end testing is implemented with Playwright and can be run from the root workspace. The testing suite covers user registration, login/logout, public/private post visibility rules, likes, comments, replies, and reactions modals.

To run the E2E tests:

npm run test:e2e

This will automatically launch the local backend and frontend development servers, execute all tests sequentially, and output the report.

Releases

Packages

Contributors

Languages