Official Carnegie Mellon University platform for reporting, managing, and finding lost items https://lostandfound.andrew.cmu.edu/
  • TypeScript 91.5%
  • CSS 5.3%
  • Python 1.4%
  • HTML 1%
  • Dockerfile 0.3%
  • Other 0.5%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Yuxiang-Huang b8accc475f
Some checks failed
nixbot/nix-eval evaluation failed
nixbot/nix-build build failed
revert(login): only allow https://login.scottylabs.org
We should ignore all other origins.
2026-05-07 16:12:15 -04:00
.github/workflows Fix page set to 1 on every edit (#201) 2023-02-25 13:24:08 -05:00
.husky Add git hooks workflow for linting 2022-07-05 19:10:33 -07:00
.vscode added item location textbox and private notes (#204) 2023-03-20 18:24:58 -04:00
api fix db name 2024-02-25 14:29:53 -05:00
client revert(login): only allow https://login.scottylabs.org 2026-05-07 16:12:15 -04:00
scripts add public display switch 2021-10-02 19:11:48 -04:00
.dockerignore added everything 2020-10-31 23:30:28 -05:00
.eslintrc.js chore: ignore empty functions 2024-01-07 23:00:33 -08:00
.gitignore Fix Docker build failure (#152) 2022-06-29 21:50:23 -07:00
.nvmrc fix empty username list issue 2022-01-05 18:15:33 -05:00
.prettierrc made some modifications 2020-10-31 23:45:58 -05:00
cloudbuild.yaml Use GCP secrets instead of GCB 2021-08-21 17:45:00 -04:00
Dockerfile Fix ESLint configuration errors for client code 2022-07-06 21:47:47 -07:00
package-lock.json tried to fix ui (#101) 2022-10-08 16:32:38 -04:00
package.json Add archived field to items 2022-07-06 22:48:40 -07:00
README.md Update README.md 2023-02-25 14:30:03 -05:00
yarn.lock added item location textbox and private notes (#204) 2023-03-20 18:24:58 -04:00

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