Giter VIP home page Giter VIP logo

cmu_lost_and_found_v2's Introduction

CMU Lost and Found Page

This is the code for the CMU Lost and Found Page.

cd api
npm install
npm start (or npm run dev)

In a separate terminal window, run

cd client
npm install
npm start

Now, the website should be running at localhost:3000. The API currently runs on port 3080. The client (development only) runs on port 3000. For production, build the client and deploy it with the API on port 3080.

Afterwards, you will need to create a new .env file. The .env file stores secret credentials. Run

cp .env.config .env

and fill out the fields.

To check for linting errors, in the root directory run

npx eslint .

Credits to Bhargav Bachina for template: https://medium.com/bb-tutorials-and-thoughts/how-to-develop-and-build-react-app-with-nodejs-backend-typescript-version-27a6a283a7c5 https://github.com/bbachi/react-nodejs-typescript-example

cmu_lost_and_found_v2's People

Contributors

adrastopoulos avatar brian-t-lee avatar brian-tae-lee avatar btwj avatar christinakli avatar clarawwang avatar e8128 avatar elouiestudent avatar erinzhu001 avatar ethan7894 avatar hdavidethan avatar jackiey321 avatar james-ngai avatar katecourabi avatar marianqian avatar michellejli77 avatar ndnrlg avatar nicolapps avatar richardg999 avatar ry3879 avatar victorial7301 avatar yerimsong avatar yilindb avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cmu_lost_and_found_v2's Issues

Make images removable when editing items

  • Put remove photo button next to upload image button in edit item
  • Remove image link from the item in database -> issue with deleting items but that will be addressed with switching how we store emails

Add notification to admin when an item is submitted and waiting to be approved

  • Add toggle next to admins under account list to pick who receives notifications
  • Once item is submitted send email to the admin from 'CMU Lost and Found [email protected]'
  • Check that notifications for a specific item only go to users with the ability to toggle available (BLDG:ADMIN, ALL:ADMIN). For example, an item in the CUC Lost and Found would only send notifications to ALL:ADMIN and CUC:ADMIN users

Add archived field to items

  • Add archived field to items with an index on it in MongoDB for fast querying
  • Make sure front page only displays unarchived items

Add more buildings

  • Add a way to add new buildings (lost and found locations) or just add the dorm buildings

UI changes

  • Change logout button to red and dropdown menu button to light red where the reds match our logo colors
  • Move title (Carnegie Mellon University) and subtitle (Lost and Found Website) to top left align next to the logo
  • Increase gutter size (a.k.a. the padding on the left and right of the group of cards on the page)

Segment admin table into pages

  • Change admin table to be displayed in sections rather than all at once since adding more items results in an increased fetch time from database and the page needs to wait to be loaded completely

[!] Change login system

  • Login sometimes doesn't work on first try, need to reload and try again a second time
  • Doppler stability issues
  • Check with David to resolve issues with login system

Add button to archive item

  • Add button to archive item in admin table
  • Change the admin table to only display unarchived items
  • Create a new page that only displays archived items

Add extended history of item in admin table

  • Whoever approved the item -> whoever last turned on the approved toggle
  • Who gave out the item -> whoever last turned off the toggle under Available
  • All history of edits of the item

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.