How rafalez72/proyectoindividual-countries works
Project type and purpose
• This is a full-stack web application for browsing, filtering, creating, and favoriting countries and related activities.
• The frontend (React/Redux) communicates with a Node/Express backend, which in turn uses Sequelize to interact with a PostgreSQL database. An external countries API supplies domain data.
File structure
• Top-level directories:
• api/ (Express server code, models, routes, tests)
• client/ (React application, components, Redux store)
• cors-anywhere/ (likely a CORS proxy)
• Configuration/build files: package.json at root and in each sub-project; ESLint, npmrc, tests under api; React boilerplate under client.
• Patterns:
• API layer under api/src/routes
• Data models under api/src/models (Activity, Country, favorites)
• Redux for state management under client/src/Redux
README for additional insights
• It describes features: filtering, ordering, search, create country/activity, delete, favorites, detail views.
• Technology stack: React/Redux (frontend), Node/Express (backend), PostgreSQL + Sequelize (DB), external API.
Elements
• Browser → React components → Redux actions → API calls
• API controllers → Models → DB
• API ↔ External API
• Frontend (blue rectangles)
• Backend/API (green rectangles)