Pin your lost and found items in the UCSC campus map!
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
- Install Node.js
- In your preferred directory, clone this repository
- Install dependencies via NPM:
npm install --only=production
- create a
dev.env.js
file in theconfig
folder, and fill in the following:
'use strict'
const merge = require('webpack-merge')
const prodEnv = require('./prod.env')
module.exports = merge(prodEnv, {
NODE_ENV: '"development"',
API_KEY: '"YOUR FIREBASE API KEY"',
AUTH_DOMAIN: '"YOUR FIREBASE PROJECT DOMAIN"',
DB_URL: '"YOUR FIREBASE DB URL"',
PROJECT_ID: '"YOUR FIREBASE PROJECT ID"',
STORAGE_BUCKET: '"YOUR FIREBASE STORAGE BUCKET"',
MESSAGING_SENDER_ID: '"YOUR MESSAGIN SENDER ID"',
})
To build for production, you can also add prod.env.js
in config
and fill in the following:
'use strict'
module.exports = {
NODE_ENV: '"production"',
API_KEY: '"YOUR FIREBASE API KEY"',
AUTH_DOMAIN: '"YOUR FIREBASE PROJECT DOMAIN"',
DB_URL: '"YOUR FIREBASE DB URL"',
PROJECT_ID: '"YOUR FIREBASE PROJECT ID"',
STORAGE_BUCKET: '"YOUR FIREBASE STORAGE BUCKET"',
MESSAGING_SENDER_ID: '"YOUR MESSAGIN SENDER ID"',
}
- Run the application locally (hosted at localhost:8080):
npm start
- Install all dependecies (including dev dependencies) via NPM:
npm install
tests can be found in the test
folder. We chose Mocha
as our testing framework, and Karma
as test runner
- Run the automated test via:
npm install
npm run unit
- Geoff Huang
- Lily Nguyen
- Chengyu Jiang
- Wan Fong
- Egan Bisma
- Peter Eskraus