Giftlink is a full-stack capstone project that implements a gift registry / gift linking application. The project is structured as a modern web application with a backend API and a frontend client. Core goals are to allow users to create gift lists, share links, manage items, and track contributions.
This repository contains the source code for both the frontend and backend (monorepo layout expected). It is intended as a demonstration of full-stack development best practices, including RESTful APIs, persistent storage, authentication, and responsive frontend UI.
- Create and manage gift lists (events, occasions)
- Add, edit, and remove gift items with descriptions and images
- Shareable public links for gift lists
- Track contributions / reservations for items
- Basic user authentication and profile management
- Clean, responsive frontend interface
- Backend: Node.js / Express (typical), REST API endpoints
- Frontend: React (CRA / Vite) or similar SPA framework
- Database: Relational (Postgres) or NoSQL (MongoDB) depending on implementation
- Authentication: JWT or session-based auth
- Deployment: Configurable for platforms like Heroku, Vercel, or Azure
- /backend — API server, routes, models, migrations
- /frontend — React app, components, pages
- /scripts — helper and deployment scripts
- README.md — this file
1; Clone the repository
2; Install dependencies
- Backend: cd backend && npm install
- Frontend: cd frontend && npm install
3; Configure environment variables
- Create .env files for backend and frontend with required keys (DATABASE_URL, JWT_SECRET, PORT, etc.)
4; Run database migrations (if applicable)
- Example: npm run migrate
5; Start servers
- Backend: npm run dev (or npm start)
- Frontend: npm run start
Run unit and integration tests where provided:
- Backend tests: cd backend && npm test
- Frontend tests: cd frontend && npm test
- POST /api/auth/register — register user
- POST /api/auth/login — login and receive token
- GET /api/lists — get lists for authenticated user
- POST /api/lists — create new list
- GET /api/lists/:id — get single list (public if shared)
- POST /api/lists/:id/items — add item to list
- PATCH /api/items/:id — update item
- POST /api/items/:id/reserve — reserve or contribute to an item
Adjust endpoints to match the actual implementation in the codebase.
Keep sensitive configuration out of source control. Use .env files and a secrets manager for production.
Contributions, bug reports, and improvements welcome. Please follow standard GitHub flow:
- Fork the repo
- Create a feature branch
- Open a pull request with a clear description and tests where applicable
Specify a license for the project (e.g., MIT). If none is present, add a LICENSE file.
For questions about the codebase, open an issue or contact the repository owner.