├── .env.template ├── .eslintrc.js ├── .gitignore ├── README.md ├── components ├── Filter.tsx ├── Item.tsx ├── ItemList.tsx ├── Layout.tsx ├── Loading.tsx ├── ManageItemForm.tsx └── Typography.tsx ├── db ├── ItemModel.ts ├── database.ts ├── item-dao.ts └── user-dao.ts ├── lib ├── api-hooks.ts ├── data-types.ts └── markdownToHtml.ts ├── next-env.d.ts ├── next.config.js ├── package.json ├── pages ├── _app.tsx ├── about.tsx ├── api │ ├── auth │ │ └── [...nextauth].ts │ ├── items.ts │ ├── items │ │ └── [itemId].tsx │ ├── me.ts │ └── vote │ │ └── [itemId].ts ├── index.tsx ├── item │ └── [...itemId].tsx ├── new.tsx └── profile.tsx ├── postcss.config.js ├── public ├── favicon.ico └── vercel.svg ├── styles └── tailwind.css ├── tailwind.config.js ├── tsconfig.json ├── typings └── next-auth.d.ts └── yarn.lock /.env.template: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hswolff/votey-uppy/HEAD/.env.template -------------------------------------------------------------------------------- /.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hswolff/votey-uppy/HEAD/.eslintrc.js -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hswolff/votey-uppy/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hswolff/votey-uppy/HEAD/README.md -------------------------------------------------------------------------------- /components/Filter.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hswolff/votey-uppy/HEAD/components/Filter.tsx -------------------------------------------------------------------------------- /components/Item.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hswolff/votey-uppy/HEAD/components/Item.tsx -------------------------------------------------------------------------------- /components/ItemList.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hswolff/votey-uppy/HEAD/components/ItemList.tsx -------------------------------------------------------------------------------- /components/Layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hswolff/votey-uppy/HEAD/components/Layout.tsx -------------------------------------------------------------------------------- /components/Loading.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hswolff/votey-uppy/HEAD/components/Loading.tsx -------------------------------------------------------------------------------- /components/ManageItemForm.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hswolff/votey-uppy/HEAD/components/ManageItemForm.tsx -------------------------------------------------------------------------------- /components/Typography.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hswolff/votey-uppy/HEAD/components/Typography.tsx -------------------------------------------------------------------------------- /db/ItemModel.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hswolff/votey-uppy/HEAD/db/ItemModel.ts -------------------------------------------------------------------------------- /db/database.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hswolff/votey-uppy/HEAD/db/database.ts -------------------------------------------------------------------------------- /db/item-dao.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hswolff/votey-uppy/HEAD/db/item-dao.ts -------------------------------------------------------------------------------- /db/user-dao.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hswolff/votey-uppy/HEAD/db/user-dao.ts -------------------------------------------------------------------------------- /lib/api-hooks.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hswolff/votey-uppy/HEAD/lib/api-hooks.ts -------------------------------------------------------------------------------- /lib/data-types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hswolff/votey-uppy/HEAD/lib/data-types.ts -------------------------------------------------------------------------------- /lib/markdownToHtml.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hswolff/votey-uppy/HEAD/lib/markdownToHtml.ts -------------------------------------------------------------------------------- /next-env.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hswolff/votey-uppy/HEAD/next-env.d.ts -------------------------------------------------------------------------------- /next.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | reactStrictMode: true, 3 | }; 4 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hswolff/votey-uppy/HEAD/package.json -------------------------------------------------------------------------------- /pages/_app.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hswolff/votey-uppy/HEAD/pages/_app.tsx -------------------------------------------------------------------------------- /pages/about.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hswolff/votey-uppy/HEAD/pages/about.tsx -------------------------------------------------------------------------------- /pages/api/auth/[...nextauth].ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hswolff/votey-uppy/HEAD/pages/api/auth/[...nextauth].ts -------------------------------------------------------------------------------- /pages/api/items.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hswolff/votey-uppy/HEAD/pages/api/items.ts -------------------------------------------------------------------------------- /pages/api/items/[itemId].tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hswolff/votey-uppy/HEAD/pages/api/items/[itemId].tsx -------------------------------------------------------------------------------- /pages/api/me.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hswolff/votey-uppy/HEAD/pages/api/me.ts -------------------------------------------------------------------------------- /pages/api/vote/[itemId].ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hswolff/votey-uppy/HEAD/pages/api/vote/[itemId].ts -------------------------------------------------------------------------------- /pages/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hswolff/votey-uppy/HEAD/pages/index.tsx -------------------------------------------------------------------------------- /pages/item/[...itemId].tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hswolff/votey-uppy/HEAD/pages/item/[...itemId].tsx -------------------------------------------------------------------------------- /pages/new.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hswolff/votey-uppy/HEAD/pages/new.tsx -------------------------------------------------------------------------------- /pages/profile.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hswolff/votey-uppy/HEAD/pages/profile.tsx -------------------------------------------------------------------------------- /postcss.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hswolff/votey-uppy/HEAD/postcss.config.js -------------------------------------------------------------------------------- /public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hswolff/votey-uppy/HEAD/public/favicon.ico -------------------------------------------------------------------------------- /public/vercel.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hswolff/votey-uppy/HEAD/public/vercel.svg -------------------------------------------------------------------------------- /styles/tailwind.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hswolff/votey-uppy/HEAD/styles/tailwind.css -------------------------------------------------------------------------------- /tailwind.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hswolff/votey-uppy/HEAD/tailwind.config.js -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hswolff/votey-uppy/HEAD/tsconfig.json -------------------------------------------------------------------------------- /typings/next-auth.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hswolff/votey-uppy/HEAD/typings/next-auth.d.ts -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hswolff/votey-uppy/HEAD/yarn.lock --------------------------------------------------------------------------------