├── .github ├── pull_request_template.md └── workflows │ └── main.yaml ├── .gitignore ├── LICENSE ├── Procfile ├── README.md ├── api ├── .eslintrc.json ├── package-lock.json ├── package.json ├── src │ ├── admin │ │ ├── controller.ts │ │ └── route.ts │ ├── cas │ │ ├── controller.ts │ │ └── route.ts │ ├── config │ │ └── dbConfig.ts │ ├── geolocations.json │ ├── info │ │ ├── controller.ts │ │ └── route.ts │ ├── locations │ │ ├── controller.ts │ │ └── route.ts │ ├── models │ │ └── Location.ts │ ├── search │ │ ├── controller.ts │ │ └── route.ts │ ├── server.ts │ ├── types │ │ ├── dotenv.d.ts │ │ ├── express-cas-authentication.d.ts │ │ └── interfaces.d.ts │ └── update_db.js └── tsconfig.json ├── campusmap ├── .babelrc ├── .eslintrc.json ├── jest.config.js ├── manifest.json ├── package-lock.json ├── package.json ├── public │ ├── favicon.ico │ ├── images │ │ ├── campusmap_logo.png │ │ ├── logo.png │ │ ├── pin-128x128.png │ │ ├── pin-144x144.png │ │ ├── pin-152x152.png │ │ ├── pin-192x192.png │ │ ├── pin-256x256.png │ │ ├── pin-512x512.png │ │ ├── pin.png │ │ └── rpi_image.jpg │ ├── index.html │ └── styles │ │ └── global.css ├── src │ ├── app │ │ ├── App.tsx │ │ ├── Footer │ │ │ ├── Footer.css │ │ │ ├── Footer.tsx │ │ │ └── index.ts │ │ ├── Header │ │ │ ├── Header.tsx │ │ │ └── index.ts │ │ └── index.ts │ ├── auth │ │ ├── AuthContext.tsx │ │ └── index.ts │ ├── index.tsx │ ├── info │ │ ├── Comment │ │ │ ├── Comment.tsx │ │ │ └── index.ts │ │ ├── InfoPage.tsx │ │ ├── PhotoCarousel │ │ │ ├── PhotoCarousel.tsx │ │ │ └── index.ts │ │ └── index.ts │ ├── login │ │ ├── Login.tsx │ │ └── index.ts │ ├── map │ │ ├── Map.tsx │ │ ├── index.ts │ │ └── leaflet │ │ │ ├── campus.ts │ │ │ ├── map.ts │ │ │ └── mapUtils.tsx │ ├── not-found │ │ ├── NotFoundPage.tsx │ │ └── index.ts │ ├── search-results │ │ ├── SearchResult │ │ │ ├── SearchResult.tsx │ │ │ └── index.ts │ │ ├── SearchResultsPage.test.tsx │ │ ├── SearchResultsPage.tsx │ │ └── index.ts │ ├── shared │ │ └── SearchForm │ │ │ ├── SearchForm.tsx │ │ │ └── index.ts │ ├── types │ │ ├── index.ts │ │ ├── interfaces.d.ts │ │ └── png.d.ts │ └── utils │ │ ├── getParams.ts │ │ └── index.ts ├── tsconfig.json └── webpack.config.js ├── default.env ├── docs └── screenshots │ ├── comments.png │ ├── infoscreen.png │ ├── mapscreen.png │ ├── searchresults.png │ └── upload.png ├── install.sh └── package.json /.github/pull_request_template.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gaskij/rpicampusmap/HEAD/.github/pull_request_template.md -------------------------------------------------------------------------------- /.github/workflows/main.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gaskij/rpicampusmap/HEAD/.github/workflows/main.yaml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gaskij/rpicampusmap/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gaskij/rpicampusmap/HEAD/LICENSE -------------------------------------------------------------------------------- /Procfile: -------------------------------------------------------------------------------- 1 | web: node api/dist/server.js 2 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gaskij/rpicampusmap/HEAD/README.md -------------------------------------------------------------------------------- /api/.eslintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gaskij/rpicampusmap/HEAD/api/.eslintrc.json -------------------------------------------------------------------------------- /api/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gaskij/rpicampusmap/HEAD/api/package-lock.json -------------------------------------------------------------------------------- /api/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gaskij/rpicampusmap/HEAD/api/package.json -------------------------------------------------------------------------------- /api/src/admin/controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gaskij/rpicampusmap/HEAD/api/src/admin/controller.ts -------------------------------------------------------------------------------- /api/src/admin/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gaskij/rpicampusmap/HEAD/api/src/admin/route.ts -------------------------------------------------------------------------------- /api/src/cas/controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gaskij/rpicampusmap/HEAD/api/src/cas/controller.ts -------------------------------------------------------------------------------- /api/src/cas/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gaskij/rpicampusmap/HEAD/api/src/cas/route.ts -------------------------------------------------------------------------------- /api/src/config/dbConfig.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gaskij/rpicampusmap/HEAD/api/src/config/dbConfig.ts -------------------------------------------------------------------------------- /api/src/geolocations.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gaskij/rpicampusmap/HEAD/api/src/geolocations.json -------------------------------------------------------------------------------- /api/src/info/controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gaskij/rpicampusmap/HEAD/api/src/info/controller.ts -------------------------------------------------------------------------------- /api/src/info/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gaskij/rpicampusmap/HEAD/api/src/info/route.ts -------------------------------------------------------------------------------- /api/src/locations/controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gaskij/rpicampusmap/HEAD/api/src/locations/controller.ts -------------------------------------------------------------------------------- /api/src/locations/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gaskij/rpicampusmap/HEAD/api/src/locations/route.ts -------------------------------------------------------------------------------- /api/src/models/Location.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gaskij/rpicampusmap/HEAD/api/src/models/Location.ts -------------------------------------------------------------------------------- /api/src/search/controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gaskij/rpicampusmap/HEAD/api/src/search/controller.ts -------------------------------------------------------------------------------- /api/src/search/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gaskij/rpicampusmap/HEAD/api/src/search/route.ts -------------------------------------------------------------------------------- /api/src/server.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gaskij/rpicampusmap/HEAD/api/src/server.ts -------------------------------------------------------------------------------- /api/src/types/dotenv.d.ts: -------------------------------------------------------------------------------- 1 | declare module 'dotenv'; 2 | -------------------------------------------------------------------------------- /api/src/types/express-cas-authentication.d.ts: -------------------------------------------------------------------------------- 1 | declare module 'express-cas-authentication'; 2 | -------------------------------------------------------------------------------- /api/src/types/interfaces.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gaskij/rpicampusmap/HEAD/api/src/types/interfaces.d.ts -------------------------------------------------------------------------------- /api/src/update_db.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gaskij/rpicampusmap/HEAD/api/src/update_db.js -------------------------------------------------------------------------------- /api/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gaskij/rpicampusmap/HEAD/api/tsconfig.json -------------------------------------------------------------------------------- /campusmap/.babelrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gaskij/rpicampusmap/HEAD/campusmap/.babelrc -------------------------------------------------------------------------------- /campusmap/.eslintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gaskij/rpicampusmap/HEAD/campusmap/.eslintrc.json -------------------------------------------------------------------------------- /campusmap/jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gaskij/rpicampusmap/HEAD/campusmap/jest.config.js -------------------------------------------------------------------------------- /campusmap/manifest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gaskij/rpicampusmap/HEAD/campusmap/manifest.json -------------------------------------------------------------------------------- /campusmap/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gaskij/rpicampusmap/HEAD/campusmap/package-lock.json -------------------------------------------------------------------------------- /campusmap/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gaskij/rpicampusmap/HEAD/campusmap/package.json -------------------------------------------------------------------------------- /campusmap/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gaskij/rpicampusmap/HEAD/campusmap/public/favicon.ico -------------------------------------------------------------------------------- /campusmap/public/images/campusmap_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gaskij/rpicampusmap/HEAD/campusmap/public/images/campusmap_logo.png -------------------------------------------------------------------------------- /campusmap/public/images/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gaskij/rpicampusmap/HEAD/campusmap/public/images/logo.png -------------------------------------------------------------------------------- /campusmap/public/images/pin-128x128.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gaskij/rpicampusmap/HEAD/campusmap/public/images/pin-128x128.png -------------------------------------------------------------------------------- /campusmap/public/images/pin-144x144.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gaskij/rpicampusmap/HEAD/campusmap/public/images/pin-144x144.png -------------------------------------------------------------------------------- /campusmap/public/images/pin-152x152.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gaskij/rpicampusmap/HEAD/campusmap/public/images/pin-152x152.png -------------------------------------------------------------------------------- /campusmap/public/images/pin-192x192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gaskij/rpicampusmap/HEAD/campusmap/public/images/pin-192x192.png -------------------------------------------------------------------------------- /campusmap/public/images/pin-256x256.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gaskij/rpicampusmap/HEAD/campusmap/public/images/pin-256x256.png -------------------------------------------------------------------------------- /campusmap/public/images/pin-512x512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gaskij/rpicampusmap/HEAD/campusmap/public/images/pin-512x512.png -------------------------------------------------------------------------------- /campusmap/public/images/pin.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gaskij/rpicampusmap/HEAD/campusmap/public/images/pin.png -------------------------------------------------------------------------------- /campusmap/public/images/rpi_image.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gaskij/rpicampusmap/HEAD/campusmap/public/images/rpi_image.jpg -------------------------------------------------------------------------------- /campusmap/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gaskij/rpicampusmap/HEAD/campusmap/public/index.html -------------------------------------------------------------------------------- /campusmap/public/styles/global.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gaskij/rpicampusmap/HEAD/campusmap/public/styles/global.css -------------------------------------------------------------------------------- /campusmap/src/app/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gaskij/rpicampusmap/HEAD/campusmap/src/app/App.tsx -------------------------------------------------------------------------------- /campusmap/src/app/Footer/Footer.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gaskij/rpicampusmap/HEAD/campusmap/src/app/Footer/Footer.css -------------------------------------------------------------------------------- /campusmap/src/app/Footer/Footer.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gaskij/rpicampusmap/HEAD/campusmap/src/app/Footer/Footer.tsx -------------------------------------------------------------------------------- /campusmap/src/app/Footer/index.ts: -------------------------------------------------------------------------------- 1 | export { default } from './Footer'; 2 | -------------------------------------------------------------------------------- /campusmap/src/app/Header/Header.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gaskij/rpicampusmap/HEAD/campusmap/src/app/Header/Header.tsx -------------------------------------------------------------------------------- /campusmap/src/app/Header/index.ts: -------------------------------------------------------------------------------- 1 | export { default } from './Header'; 2 | -------------------------------------------------------------------------------- /campusmap/src/app/index.ts: -------------------------------------------------------------------------------- 1 | export { default } from './App'; 2 | -------------------------------------------------------------------------------- /campusmap/src/auth/AuthContext.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gaskij/rpicampusmap/HEAD/campusmap/src/auth/AuthContext.tsx -------------------------------------------------------------------------------- /campusmap/src/auth/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gaskij/rpicampusmap/HEAD/campusmap/src/auth/index.ts -------------------------------------------------------------------------------- /campusmap/src/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gaskij/rpicampusmap/HEAD/campusmap/src/index.tsx -------------------------------------------------------------------------------- /campusmap/src/info/Comment/Comment.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gaskij/rpicampusmap/HEAD/campusmap/src/info/Comment/Comment.tsx -------------------------------------------------------------------------------- /campusmap/src/info/Comment/index.ts: -------------------------------------------------------------------------------- 1 | export { default } from './Comment'; 2 | -------------------------------------------------------------------------------- /campusmap/src/info/InfoPage.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gaskij/rpicampusmap/HEAD/campusmap/src/info/InfoPage.tsx -------------------------------------------------------------------------------- /campusmap/src/info/PhotoCarousel/PhotoCarousel.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gaskij/rpicampusmap/HEAD/campusmap/src/info/PhotoCarousel/PhotoCarousel.tsx -------------------------------------------------------------------------------- /campusmap/src/info/PhotoCarousel/index.ts: -------------------------------------------------------------------------------- 1 | export { default } from './PhotoCarousel'; 2 | -------------------------------------------------------------------------------- /campusmap/src/info/index.ts: -------------------------------------------------------------------------------- 1 | export { default } from './InfoPage'; 2 | -------------------------------------------------------------------------------- /campusmap/src/login/Login.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gaskij/rpicampusmap/HEAD/campusmap/src/login/Login.tsx -------------------------------------------------------------------------------- /campusmap/src/login/index.ts: -------------------------------------------------------------------------------- 1 | export { default } from './Login'; 2 | -------------------------------------------------------------------------------- /campusmap/src/map/Map.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gaskij/rpicampusmap/HEAD/campusmap/src/map/Map.tsx -------------------------------------------------------------------------------- /campusmap/src/map/index.ts: -------------------------------------------------------------------------------- 1 | export { default } from './Map'; 2 | -------------------------------------------------------------------------------- /campusmap/src/map/leaflet/campus.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gaskij/rpicampusmap/HEAD/campusmap/src/map/leaflet/campus.ts -------------------------------------------------------------------------------- /campusmap/src/map/leaflet/map.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gaskij/rpicampusmap/HEAD/campusmap/src/map/leaflet/map.ts -------------------------------------------------------------------------------- /campusmap/src/map/leaflet/mapUtils.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gaskij/rpicampusmap/HEAD/campusmap/src/map/leaflet/mapUtils.tsx -------------------------------------------------------------------------------- /campusmap/src/not-found/NotFoundPage.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gaskij/rpicampusmap/HEAD/campusmap/src/not-found/NotFoundPage.tsx -------------------------------------------------------------------------------- /campusmap/src/not-found/index.ts: -------------------------------------------------------------------------------- 1 | export { default } from './NotFoundPage'; 2 | -------------------------------------------------------------------------------- /campusmap/src/search-results/SearchResult/SearchResult.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gaskij/rpicampusmap/HEAD/campusmap/src/search-results/SearchResult/SearchResult.tsx -------------------------------------------------------------------------------- /campusmap/src/search-results/SearchResult/index.ts: -------------------------------------------------------------------------------- 1 | export { default } from './SearchResult'; 2 | -------------------------------------------------------------------------------- /campusmap/src/search-results/SearchResultsPage.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gaskij/rpicampusmap/HEAD/campusmap/src/search-results/SearchResultsPage.test.tsx -------------------------------------------------------------------------------- /campusmap/src/search-results/SearchResultsPage.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gaskij/rpicampusmap/HEAD/campusmap/src/search-results/SearchResultsPage.tsx -------------------------------------------------------------------------------- /campusmap/src/search-results/index.ts: -------------------------------------------------------------------------------- 1 | export { default } from './SearchResultsPage'; 2 | -------------------------------------------------------------------------------- /campusmap/src/shared/SearchForm/SearchForm.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gaskij/rpicampusmap/HEAD/campusmap/src/shared/SearchForm/SearchForm.tsx -------------------------------------------------------------------------------- /campusmap/src/shared/SearchForm/index.ts: -------------------------------------------------------------------------------- 1 | export { default } from './SearchForm'; 2 | -------------------------------------------------------------------------------- /campusmap/src/types/index.ts: -------------------------------------------------------------------------------- 1 | export * from './interfaces'; 2 | -------------------------------------------------------------------------------- /campusmap/src/types/interfaces.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gaskij/rpicampusmap/HEAD/campusmap/src/types/interfaces.d.ts -------------------------------------------------------------------------------- /campusmap/src/types/png.d.ts: -------------------------------------------------------------------------------- 1 | declare module '*.png'; 2 | -------------------------------------------------------------------------------- /campusmap/src/utils/getParams.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gaskij/rpicampusmap/HEAD/campusmap/src/utils/getParams.ts -------------------------------------------------------------------------------- /campusmap/src/utils/index.ts: -------------------------------------------------------------------------------- 1 | export * from './getParams'; 2 | -------------------------------------------------------------------------------- /campusmap/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gaskij/rpicampusmap/HEAD/campusmap/tsconfig.json -------------------------------------------------------------------------------- /campusmap/webpack.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gaskij/rpicampusmap/HEAD/campusmap/webpack.config.js -------------------------------------------------------------------------------- /default.env: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gaskij/rpicampusmap/HEAD/default.env -------------------------------------------------------------------------------- /docs/screenshots/comments.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gaskij/rpicampusmap/HEAD/docs/screenshots/comments.png -------------------------------------------------------------------------------- /docs/screenshots/infoscreen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gaskij/rpicampusmap/HEAD/docs/screenshots/infoscreen.png -------------------------------------------------------------------------------- /docs/screenshots/mapscreen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gaskij/rpicampusmap/HEAD/docs/screenshots/mapscreen.png -------------------------------------------------------------------------------- /docs/screenshots/searchresults.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gaskij/rpicampusmap/HEAD/docs/screenshots/searchresults.png -------------------------------------------------------------------------------- /docs/screenshots/upload.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gaskij/rpicampusmap/HEAD/docs/screenshots/upload.png -------------------------------------------------------------------------------- /install.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gaskij/rpicampusmap/HEAD/install.sh -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gaskij/rpicampusmap/HEAD/package.json --------------------------------------------------------------------------------