How wildcodeschool/2023-09-wns-vert-groupe3 works
Project type and purpose
• This is a full-stack web application (“Wildrent”) for an equipment rental company.
• It consists of:
• A GraphQL backend (Node.js + TypeORM + PostgreSQL)
• A Next.js frontend (React + Tailwind + Radix UI)
• An auxiliary image-upload microservice
• End-to-end (Playwright) tests
• Docker Compose orchestration for development, production, and E2E environments
File structure
• Top-level folders:
• backend/ – GraphQL API, TypeORM entities, migrations, services, resolvers
• frontend/ – Next.js app with pages, components, contexts, styles, and API routes
• imagesupload/ – standalone Dockerized microservice for handling image assets
• e2e/ – Playwright tests and Dockerfile to run browser-based tests
• Config and orchestration:
• docker-compose.yml (development), docker-compose.prod.yml, docker-compose.e2e.yml
• .env.* files for environment-specific settings
• nginx.conf for reverse-proxy setup
• CI:
• .github/workflows/jest-ci.yml for backend unit tests
README for additional insights
• The README confirms:
• Backend: GraphQL, PostgreSQL, TypeORM
• Frontend: Next.js, SSR, TailwindCSS, Radix UI
• Deployment via Docker Compose (development & production)
• Future integrations: Stripe payments, multi-hub storage, internationalization
Detail and essential elements
• Environment variables (.env) as a note on configuration management.
• Build or CI steps if relevant (e.g., Jest CI pipeline).