Weekender: A full-stack e-commerce template built with React. by Alexandre MachadoWeekender: A full-stack e-commerce template built with React. by Alexandre Machado

Weekender: A full-stack e-commerce template built with React.

Portfolio project
Alexandre Machado

๐Ÿ›๏ธ Weekender: A full-stack template built with React, Laravel, and TailwindCSS

I built Weekender E-Commerce to explore how small online stores can achieve modern performance and design using open-source technologies. The goal was to create a scalable, production-ready stack that feels fast, secure, and easy to extend โ€” perfect for real-world freelance or startup projects.
What I did:
Set up Laravel 11 API with Sanctum authentication
Developed a React + TypeScript frontend using TailwindCSS
Configured RESTful endpoints, migrations, and seeders
Automated deployment with Hostinger using deploy.sh
Implemented clean code practices with ESLint, Prettier, and GitHub Actions
Result: A polished, end-to-end e-commerce prototype ready for live deployment or customization. This project taught me how to bridge backend APIs with modern SPA workflows efficiently.
Perfect for real-world freelance or startup projects

๐Ÿ— Architecture

โ”œโ”€โ”€ backend/          # Laravel 11 API Backend
โ”‚ โ”œโ”€โ”€ app/ # Application logic
โ”‚ โ”œโ”€โ”€ config/ # Configuration files
โ”‚ โ”œโ”€โ”€ database/ # Migrations, factories, seeders
โ”‚ โ”œโ”€โ”€ routes/ # API routes
โ”‚ โ””โ”€โ”€ ...
โ”œโ”€โ”€ frontend/ # React + TypeScript Frontend
โ”‚ โ”œโ”€โ”€ src/
โ”‚ โ”‚ โ”œโ”€โ”€ components/ # React components
โ”‚ โ”‚ โ”œโ”€โ”€ hooks/ # Custom hooks
โ”‚ โ”‚ โ”œโ”€โ”€ services/ # API services
โ”‚ โ”‚ โ”œโ”€โ”€ types/ # TypeScript type definitions
โ”‚ โ”‚ โ””โ”€โ”€ utils/ # Utility functions
โ”‚ โ””โ”€โ”€ ...
โ””โ”€โ”€ deploy.sh # Deployment script

๐Ÿš€ Results

End-to-end working prototype for small business e-commerce setups
Production-ready configuration with automated deploys
Optimized builds, type-safe code, and fast local development
Secure SPA login/logout and persistent user sessions
Clean responsive UI ready for product catalog integration

๐Ÿ“ฆ Deliverables

โœ… Source code (GitHub) โœ… Deployment setup โœ… REST API endpoints โœ… Example migrations and seeders โœ… Frontend + backend documentation
A polished, end-to-end e-commerce prototype ready for live deployment or customization.
A polished, end-to-end e-commerce prototype ready for live deployment or customization.

๐Ÿ“ Project Structure

weekender-ecommerce/
โ”œโ”€โ”€ backend/ # Laravel Backend
โ”‚ โ”œโ”€โ”€ app/
โ”‚ โ”‚ โ”œโ”€โ”€ Http/Controllers/
โ”‚ โ”‚ โ”œโ”€โ”€ Models/
โ”‚ โ”‚ โ””โ”€โ”€ Providers/
โ”‚ โ”œโ”€โ”€ config/
โ”‚ โ”œโ”€โ”€ database/
โ”‚ โ”‚ โ”œโ”€โ”€ migrations/
โ”‚ โ”‚ โ”œโ”€โ”€ factories/
โ”‚ โ”‚ โ””โ”€โ”€ seeders/
โ”‚ โ”œโ”€โ”€ routes/
โ”‚ โ”‚ โ”œโ”€โ”€ api.php
โ”‚ โ”‚ โ””โ”€โ”€ web.php
โ”‚ โ””โ”€โ”€ ...
โ”œโ”€โ”€ frontend/ # React Frontend
โ”‚ โ”œโ”€โ”€ src/
โ”‚ โ”‚ โ”œโ”€โ”€ components/
โ”‚ โ”‚ โ”œโ”€โ”€ hooks/
โ”‚ โ”‚ โ”œโ”€โ”€ services/
โ”‚ โ”‚ โ”œโ”€โ”€ types/
โ”‚ โ”‚ โ”œโ”€โ”€ utils/
โ”‚ โ”‚ โ”œโ”€โ”€ App.tsx
โ”‚ โ”‚ โ””โ”€โ”€ main.tsx
โ”‚ โ”œโ”€โ”€ public/
โ”‚ โ””โ”€โ”€ ...
โ”œโ”€โ”€ .github/
โ”‚ โ””โ”€โ”€ workflows/ # GitHub Actions
โ”œโ”€โ”€ deploy.sh # Deployment script
โ”œโ”€โ”€ DEPLOYMENT.md # Deployment guide
โ””โ”€โ”€ package.json # Root package.json

0 likes ยท 15 views ยท Nov 5, 2025

Developed a scalable e-commerce platform using Laravel and React for small retailers.

Tags