├── .gitignore ├── README.md ├── components ├── AlertWindow.js ├── Header.js ├── Locate.js ├── Search.js └── index.js ├── environment.d.ts ├── mapStyles.js ├── next-env.d.ts ├── package.json ├── pages ├── _app.tsx ├── api │ └── sightings │ │ ├── create.ts │ │ └── index.ts └── index.js ├── public ├── bear.svg ├── compass.svg └── favicon.ico ├── styles.css ├── tsconfig.json ├── utils └── database.ts ├── vercel.json └── yarn.lock /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leighhalliday/next-mongo-demo/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leighhalliday/next-mongo-demo/HEAD/README.md -------------------------------------------------------------------------------- /components/AlertWindow.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leighhalliday/next-mongo-demo/HEAD/components/AlertWindow.js -------------------------------------------------------------------------------- /components/Header.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leighhalliday/next-mongo-demo/HEAD/components/Header.js -------------------------------------------------------------------------------- /components/Locate.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leighhalliday/next-mongo-demo/HEAD/components/Locate.js -------------------------------------------------------------------------------- /components/Search.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leighhalliday/next-mongo-demo/HEAD/components/Search.js -------------------------------------------------------------------------------- /components/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leighhalliday/next-mongo-demo/HEAD/components/index.js -------------------------------------------------------------------------------- /environment.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leighhalliday/next-mongo-demo/HEAD/environment.d.ts -------------------------------------------------------------------------------- /mapStyles.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leighhalliday/next-mongo-demo/HEAD/mapStyles.js -------------------------------------------------------------------------------- /next-env.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leighhalliday/next-mongo-demo/HEAD/next-env.d.ts -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leighhalliday/next-mongo-demo/HEAD/package.json -------------------------------------------------------------------------------- /pages/_app.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leighhalliday/next-mongo-demo/HEAD/pages/_app.tsx -------------------------------------------------------------------------------- /pages/api/sightings/create.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leighhalliday/next-mongo-demo/HEAD/pages/api/sightings/create.ts -------------------------------------------------------------------------------- /pages/api/sightings/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leighhalliday/next-mongo-demo/HEAD/pages/api/sightings/index.ts -------------------------------------------------------------------------------- /pages/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leighhalliday/next-mongo-demo/HEAD/pages/index.js -------------------------------------------------------------------------------- /public/bear.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leighhalliday/next-mongo-demo/HEAD/public/bear.svg -------------------------------------------------------------------------------- /public/compass.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leighhalliday/next-mongo-demo/HEAD/public/compass.svg -------------------------------------------------------------------------------- /public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leighhalliday/next-mongo-demo/HEAD/public/favicon.ico -------------------------------------------------------------------------------- /styles.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leighhalliday/next-mongo-demo/HEAD/styles.css -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leighhalliday/next-mongo-demo/HEAD/tsconfig.json -------------------------------------------------------------------------------- /utils/database.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leighhalliday/next-mongo-demo/HEAD/utils/database.ts -------------------------------------------------------------------------------- /vercel.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leighhalliday/next-mongo-demo/HEAD/yarn.lock --------------------------------------------------------------------------------