SachiGoto / lost-and-found

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Lost and Found App Vancouver

View Demo

Table of Contents
  1. About The Project
  2. Technologies
  3. Features
  4. Challenges
  5. Getting Started

About The Project

This lost and found web app is for reporting lost items. You can upload an image of a found item and edit the item after it’s posted. In this app, you can view posts (lost items), submit and edit posts, and deactivate posts once items are claimed.

Technologies

This project was generated with Angular CLI version 14.0.3.

Images are stored in the cloud using Cloudinary. It provides an URL for each image so we only store the URLs in the database instead of image themselves. This significantly reduces the amount of data stored.

We used MongoDB. One of the biggest reasons is MongoDB is easy to host with Heroku as well as connect to Cloudinary.

Features

  • Add item form
  • Edit item form
  • On the edit item form, the current image will be updated in the form as soon as you select a different image
  • Claim button - Clicking the claimed button will disable the item so that no one can claim the item again
  • Features to implement in the future

  • Login with Auth
  • Functionality for logged in users to post lost items
  • Edit only items linked to profile
  • Search bar
  • Categories
  • Challenges

    Passing Dataform and Databody with Angular to the server was one of the primary challenges. We discovered that we can append values with dataform so that we can pass dataform and databody together!

    Screenshot 2022-12-31 at 7 15 03 PM

    Getting Started

    Installation

    Run ng serve for a dev server. Navigate to http://localhost:4200/. The application will automatically reload if you change any of the source files.

    Code scaffolding

    Run ng generate component component-name to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module.

    Build

    Run ng build to build the project. The build artifacts will be stored in the dist/ directory.

    Running unit tests

    Run ng test to execute the unit tests via Karma.

    Running end-to-end tests

    Run ng e2e to execute the end-to-end tests via a platform of your choice. To use this command, you need to first add a package that implements end-to-end testing capabilities.

    Further help

    To get more help on the Angular CLI use ng help or go check out the Angular CLI Overview and Command Reference page.

    Credits

    License

    Website

    About


    Languages

    Language:TypeScript 53.0%Language:HTML 32.5%Language:SCSS 11.9%Language:JavaScript 2.6%