Skip to content

About

The GiftLink application connects users who wish to give away household items they no longer need with users who enjoy recycling and prefer to find free household items to match their tastes rather than purchasing new ones.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

36 Commits

Folders and files

Repository files navigation

Giftlink Project (Fullstack Capstone)

Project Overview

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.

Key Features

  • 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

Tech Stack

  • 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

Repository Layout (typical)

  • /backend — API server, routes, models, migrations
  • /frontend — React app, components, pages
  • /scripts — helper and deployment scripts
  • README.md — this file

Setup and Local Development

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

Running Tests

Run unit and integration tests where provided:

  • Backend tests: cd backend && npm test
  • Frontend tests: cd frontend && npm test

API Endpoints (example)

  • 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.

Environment & Configuration

Keep sensitive configuration out of source control. Use .env files and a secrets manager for production.

Contributing

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

License

Specify a license for the project (e.g., MIT). If none is present, add a LICENSE file.

Contact

For questions about the codebase, open an issue or contact the repository owner.

About

The GiftLink application connects users who wish to give away household items they no longer need with users who enjoy recycling and prefer to find free household items to match their tastes rather than purchasing new ones.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages