├── README.md ├── authentication ├── .gitignore ├── Dockerfile ├── app.js ├── config │ ├── jwt.js │ └── passport.js ├── controllers │ └── user.js ├── db │ ├── errors.js │ ├── migrations │ │ ├── 20180917160913_user.js │ │ ├── 20190127161009_role.js │ │ └── 20190127171217_user_role.js │ └── schema.js ├── knexfile.js ├── package.json ├── private.pem ├── public.pem └── yarn.lock ├── backend ├── .env ├── Dockerfile ├── config.yaml └── migrations │ ├── 1581859894709_add_existing_table_or_view_public_role │ ├── down.yaml │ └── up.yaml │ ├── 1581859903632_add_existing_table_or_view_public_user │ ├── down.yaml │ └── up.yaml │ ├── 1581859907484_add_existing_table_or_view_public_user_role │ ├── down.yaml │ └── up.yaml │ ├── 1581861078761_track_all_relationships │ ├── down.yaml │ └── up.yaml │ ├── 1581930494189_create_table_public_product │ ├── down.yaml │ └── up.yaml │ ├── 1581931046571_alter_table_public_product_add_column_maker │ ├── down.yaml │ └── up.yaml │ ├── 1581931186009_alter_table_public_product_alter_column_maker │ ├── down.yaml │ └── up.yaml │ ├── 1581931203038_create_relationship_maker_public_table_product │ ├── down.yaml │ └── up.yaml │ ├── 1581933376860_create_relationship_products_public_table_user │ ├── down.yaml │ └── up.yaml │ ├── 1581933437782_drop_relationship_products_public_table_user │ ├── down.yaml │ └── up.yaml │ ├── 1581933575621_create_relationship_products_public_table_user │ ├── down.yaml │ └── up.yaml │ ├── 1581933834774_update_permission_user_public_table_product │ ├── down.yaml │ └── up.yaml │ ├── 1581933845431_update_permission_user_public_table_product │ ├── down.yaml │ └── up.yaml │ ├── 1581933869264_update_permission_user_public_table_product │ ├── down.yaml │ └── up.yaml │ ├── 1581933884304_update_permission_user_public_table_product │ ├── down.yaml │ └── up.yaml │ ├── 1581934077339_update_permission_user_public_table_product │ ├── down.yaml │ └── up.yaml │ ├── 1581934352752_delete_permission_user_public_table_product │ ├── down.yaml │ └── up.yaml │ ├── 1581934361223_remove_roles_public_table_product │ ├── down.yaml │ └── up.yaml │ ├── 1581958466734_update_permission_user_public_table_product │ ├── down.yaml │ └── up.yaml │ ├── 1581958476669_update_permission_user_public_table_product │ ├── down.yaml │ └── up.yaml │ ├── 1581958496821_update_permission_user_public_table_product │ ├── down.yaml │ └── up.yaml │ ├── 1581958513422_update_permission_user_public_table_product │ ├── down.yaml │ └── up.yaml │ ├── 1581958517174_update_permission_user_public_table_product │ ├── down.yaml │ └── up.yaml │ ├── 1581958590531_update_permission_user_public_table_product │ ├── down.yaml │ └── up.yaml │ ├── 1581959331628_update_permission_user_public_table_product │ ├── down.yaml │ └── up.yaml │ ├── 1581960027247_update_permission_user_public_table_product │ ├── down.yaml │ └── up.yaml │ └── 1581960140305_update_permission_user_public_table_product │ ├── down.yaml │ └── up.yaml ├── docker-compose.yml └── frontend ├── .dockerignore ├── .gitignore ├── Dockerfile ├── Dockerfile.multistage ├── components ├── forms │ ├── add-new-product.js │ ├── edit-product.js │ ├── sign-in.js │ └── sign-up.js └── lists │ └── products.js ├── lib ├── init-graphql.js └── with-graphql-client.js ├── next.config.js ├── package.json ├── pages ├── _app.js ├── index.js ├── login.js └── products │ ├── [productId] │ └── edit.js │ ├── index.js │ └── new.js └── yarn.lock /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghoshnirmalya/product-hunt-clone-using-nextjs-and-hasura/HEAD/README.md -------------------------------------------------------------------------------- /authentication/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghoshnirmalya/product-hunt-clone-using-nextjs-and-hasura/HEAD/authentication/.gitignore -------------------------------------------------------------------------------- /authentication/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghoshnirmalya/product-hunt-clone-using-nextjs-and-hasura/HEAD/authentication/Dockerfile -------------------------------------------------------------------------------- /authentication/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghoshnirmalya/product-hunt-clone-using-nextjs-and-hasura/HEAD/authentication/app.js -------------------------------------------------------------------------------- /authentication/config/jwt.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghoshnirmalya/product-hunt-clone-using-nextjs-and-hasura/HEAD/authentication/config/jwt.js -------------------------------------------------------------------------------- /authentication/config/passport.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghoshnirmalya/product-hunt-clone-using-nextjs-and-hasura/HEAD/authentication/config/passport.js -------------------------------------------------------------------------------- /authentication/controllers/user.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghoshnirmalya/product-hunt-clone-using-nextjs-and-hasura/HEAD/authentication/controllers/user.js -------------------------------------------------------------------------------- /authentication/db/errors.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghoshnirmalya/product-hunt-clone-using-nextjs-and-hasura/HEAD/authentication/db/errors.js -------------------------------------------------------------------------------- /authentication/db/migrations/20180917160913_user.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghoshnirmalya/product-hunt-clone-using-nextjs-and-hasura/HEAD/authentication/db/migrations/20180917160913_user.js -------------------------------------------------------------------------------- /authentication/db/migrations/20190127161009_role.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghoshnirmalya/product-hunt-clone-using-nextjs-and-hasura/HEAD/authentication/db/migrations/20190127161009_role.js -------------------------------------------------------------------------------- /authentication/db/migrations/20190127171217_user_role.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghoshnirmalya/product-hunt-clone-using-nextjs-and-hasura/HEAD/authentication/db/migrations/20190127171217_user_role.js -------------------------------------------------------------------------------- /authentication/db/schema.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghoshnirmalya/product-hunt-clone-using-nextjs-and-hasura/HEAD/authentication/db/schema.js -------------------------------------------------------------------------------- /authentication/knexfile.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghoshnirmalya/product-hunt-clone-using-nextjs-and-hasura/HEAD/authentication/knexfile.js -------------------------------------------------------------------------------- /authentication/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghoshnirmalya/product-hunt-clone-using-nextjs-and-hasura/HEAD/authentication/package.json -------------------------------------------------------------------------------- /authentication/private.pem: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghoshnirmalya/product-hunt-clone-using-nextjs-and-hasura/HEAD/authentication/private.pem -------------------------------------------------------------------------------- /authentication/public.pem: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghoshnirmalya/product-hunt-clone-using-nextjs-and-hasura/HEAD/authentication/public.pem -------------------------------------------------------------------------------- /authentication/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghoshnirmalya/product-hunt-clone-using-nextjs-and-hasura/HEAD/authentication/yarn.lock -------------------------------------------------------------------------------- /backend/.env: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghoshnirmalya/product-hunt-clone-using-nextjs-and-hasura/HEAD/backend/.env -------------------------------------------------------------------------------- /backend/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghoshnirmalya/product-hunt-clone-using-nextjs-and-hasura/HEAD/backend/Dockerfile -------------------------------------------------------------------------------- /backend/config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghoshnirmalya/product-hunt-clone-using-nextjs-and-hasura/HEAD/backend/config.yaml -------------------------------------------------------------------------------- /backend/migrations/1581859894709_add_existing_table_or_view_public_role/down.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghoshnirmalya/product-hunt-clone-using-nextjs-and-hasura/HEAD/backend/migrations/1581859894709_add_existing_table_or_view_public_role/down.yaml -------------------------------------------------------------------------------- /backend/migrations/1581859894709_add_existing_table_or_view_public_role/up.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghoshnirmalya/product-hunt-clone-using-nextjs-and-hasura/HEAD/backend/migrations/1581859894709_add_existing_table_or_view_public_role/up.yaml -------------------------------------------------------------------------------- /backend/migrations/1581859903632_add_existing_table_or_view_public_user/down.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghoshnirmalya/product-hunt-clone-using-nextjs-and-hasura/HEAD/backend/migrations/1581859903632_add_existing_table_or_view_public_user/down.yaml -------------------------------------------------------------------------------- /backend/migrations/1581859903632_add_existing_table_or_view_public_user/up.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghoshnirmalya/product-hunt-clone-using-nextjs-and-hasura/HEAD/backend/migrations/1581859903632_add_existing_table_or_view_public_user/up.yaml -------------------------------------------------------------------------------- /backend/migrations/1581859907484_add_existing_table_or_view_public_user_role/down.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghoshnirmalya/product-hunt-clone-using-nextjs-and-hasura/HEAD/backend/migrations/1581859907484_add_existing_table_or_view_public_user_role/down.yaml -------------------------------------------------------------------------------- /backend/migrations/1581859907484_add_existing_table_or_view_public_user_role/up.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghoshnirmalya/product-hunt-clone-using-nextjs-and-hasura/HEAD/backend/migrations/1581859907484_add_existing_table_or_view_public_user_role/up.yaml -------------------------------------------------------------------------------- /backend/migrations/1581861078761_track_all_relationships/down.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghoshnirmalya/product-hunt-clone-using-nextjs-and-hasura/HEAD/backend/migrations/1581861078761_track_all_relationships/down.yaml -------------------------------------------------------------------------------- /backend/migrations/1581861078761_track_all_relationships/up.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghoshnirmalya/product-hunt-clone-using-nextjs-and-hasura/HEAD/backend/migrations/1581861078761_track_all_relationships/up.yaml -------------------------------------------------------------------------------- /backend/migrations/1581930494189_create_table_public_product/down.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghoshnirmalya/product-hunt-clone-using-nextjs-and-hasura/HEAD/backend/migrations/1581930494189_create_table_public_product/down.yaml -------------------------------------------------------------------------------- /backend/migrations/1581930494189_create_table_public_product/up.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghoshnirmalya/product-hunt-clone-using-nextjs-and-hasura/HEAD/backend/migrations/1581930494189_create_table_public_product/up.yaml -------------------------------------------------------------------------------- /backend/migrations/1581931046571_alter_table_public_product_add_column_maker/down.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghoshnirmalya/product-hunt-clone-using-nextjs-and-hasura/HEAD/backend/migrations/1581931046571_alter_table_public_product_add_column_maker/down.yaml -------------------------------------------------------------------------------- /backend/migrations/1581931046571_alter_table_public_product_add_column_maker/up.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghoshnirmalya/product-hunt-clone-using-nextjs-and-hasura/HEAD/backend/migrations/1581931046571_alter_table_public_product_add_column_maker/up.yaml -------------------------------------------------------------------------------- /backend/migrations/1581931186009_alter_table_public_product_alter_column_maker/down.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghoshnirmalya/product-hunt-clone-using-nextjs-and-hasura/HEAD/backend/migrations/1581931186009_alter_table_public_product_alter_column_maker/down.yaml -------------------------------------------------------------------------------- /backend/migrations/1581931186009_alter_table_public_product_alter_column_maker/up.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghoshnirmalya/product-hunt-clone-using-nextjs-and-hasura/HEAD/backend/migrations/1581931186009_alter_table_public_product_alter_column_maker/up.yaml -------------------------------------------------------------------------------- /backend/migrations/1581931203038_create_relationship_maker_public_table_product/down.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghoshnirmalya/product-hunt-clone-using-nextjs-and-hasura/HEAD/backend/migrations/1581931203038_create_relationship_maker_public_table_product/down.yaml -------------------------------------------------------------------------------- /backend/migrations/1581931203038_create_relationship_maker_public_table_product/up.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghoshnirmalya/product-hunt-clone-using-nextjs-and-hasura/HEAD/backend/migrations/1581931203038_create_relationship_maker_public_table_product/up.yaml -------------------------------------------------------------------------------- /backend/migrations/1581933376860_create_relationship_products_public_table_user/down.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghoshnirmalya/product-hunt-clone-using-nextjs-and-hasura/HEAD/backend/migrations/1581933376860_create_relationship_products_public_table_user/down.yaml -------------------------------------------------------------------------------- /backend/migrations/1581933376860_create_relationship_products_public_table_user/up.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghoshnirmalya/product-hunt-clone-using-nextjs-and-hasura/HEAD/backend/migrations/1581933376860_create_relationship_products_public_table_user/up.yaml -------------------------------------------------------------------------------- /backend/migrations/1581933437782_drop_relationship_products_public_table_user/down.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghoshnirmalya/product-hunt-clone-using-nextjs-and-hasura/HEAD/backend/migrations/1581933437782_drop_relationship_products_public_table_user/down.yaml -------------------------------------------------------------------------------- /backend/migrations/1581933437782_drop_relationship_products_public_table_user/up.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghoshnirmalya/product-hunt-clone-using-nextjs-and-hasura/HEAD/backend/migrations/1581933437782_drop_relationship_products_public_table_user/up.yaml -------------------------------------------------------------------------------- /backend/migrations/1581933575621_create_relationship_products_public_table_user/down.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghoshnirmalya/product-hunt-clone-using-nextjs-and-hasura/HEAD/backend/migrations/1581933575621_create_relationship_products_public_table_user/down.yaml -------------------------------------------------------------------------------- /backend/migrations/1581933575621_create_relationship_products_public_table_user/up.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghoshnirmalya/product-hunt-clone-using-nextjs-and-hasura/HEAD/backend/migrations/1581933575621_create_relationship_products_public_table_user/up.yaml -------------------------------------------------------------------------------- /backend/migrations/1581933834774_update_permission_user_public_table_product/down.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghoshnirmalya/product-hunt-clone-using-nextjs-and-hasura/HEAD/backend/migrations/1581933834774_update_permission_user_public_table_product/down.yaml -------------------------------------------------------------------------------- /backend/migrations/1581933834774_update_permission_user_public_table_product/up.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghoshnirmalya/product-hunt-clone-using-nextjs-and-hasura/HEAD/backend/migrations/1581933834774_update_permission_user_public_table_product/up.yaml -------------------------------------------------------------------------------- /backend/migrations/1581933845431_update_permission_user_public_table_product/down.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghoshnirmalya/product-hunt-clone-using-nextjs-and-hasura/HEAD/backend/migrations/1581933845431_update_permission_user_public_table_product/down.yaml -------------------------------------------------------------------------------- /backend/migrations/1581933845431_update_permission_user_public_table_product/up.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghoshnirmalya/product-hunt-clone-using-nextjs-and-hasura/HEAD/backend/migrations/1581933845431_update_permission_user_public_table_product/up.yaml -------------------------------------------------------------------------------- /backend/migrations/1581933869264_update_permission_user_public_table_product/down.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghoshnirmalya/product-hunt-clone-using-nextjs-and-hasura/HEAD/backend/migrations/1581933869264_update_permission_user_public_table_product/down.yaml -------------------------------------------------------------------------------- /backend/migrations/1581933869264_update_permission_user_public_table_product/up.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghoshnirmalya/product-hunt-clone-using-nextjs-and-hasura/HEAD/backend/migrations/1581933869264_update_permission_user_public_table_product/up.yaml -------------------------------------------------------------------------------- /backend/migrations/1581933884304_update_permission_user_public_table_product/down.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghoshnirmalya/product-hunt-clone-using-nextjs-and-hasura/HEAD/backend/migrations/1581933884304_update_permission_user_public_table_product/down.yaml -------------------------------------------------------------------------------- /backend/migrations/1581933884304_update_permission_user_public_table_product/up.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghoshnirmalya/product-hunt-clone-using-nextjs-and-hasura/HEAD/backend/migrations/1581933884304_update_permission_user_public_table_product/up.yaml -------------------------------------------------------------------------------- /backend/migrations/1581934077339_update_permission_user_public_table_product/down.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghoshnirmalya/product-hunt-clone-using-nextjs-and-hasura/HEAD/backend/migrations/1581934077339_update_permission_user_public_table_product/down.yaml -------------------------------------------------------------------------------- /backend/migrations/1581934077339_update_permission_user_public_table_product/up.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghoshnirmalya/product-hunt-clone-using-nextjs-and-hasura/HEAD/backend/migrations/1581934077339_update_permission_user_public_table_product/up.yaml -------------------------------------------------------------------------------- /backend/migrations/1581934352752_delete_permission_user_public_table_product/down.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghoshnirmalya/product-hunt-clone-using-nextjs-and-hasura/HEAD/backend/migrations/1581934352752_delete_permission_user_public_table_product/down.yaml -------------------------------------------------------------------------------- /backend/migrations/1581934352752_delete_permission_user_public_table_product/up.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghoshnirmalya/product-hunt-clone-using-nextjs-and-hasura/HEAD/backend/migrations/1581934352752_delete_permission_user_public_table_product/up.yaml -------------------------------------------------------------------------------- /backend/migrations/1581934361223_remove_roles_public_table_product/down.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghoshnirmalya/product-hunt-clone-using-nextjs-and-hasura/HEAD/backend/migrations/1581934361223_remove_roles_public_table_product/down.yaml -------------------------------------------------------------------------------- /backend/migrations/1581934361223_remove_roles_public_table_product/up.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghoshnirmalya/product-hunt-clone-using-nextjs-and-hasura/HEAD/backend/migrations/1581934361223_remove_roles_public_table_product/up.yaml -------------------------------------------------------------------------------- /backend/migrations/1581958466734_update_permission_user_public_table_product/down.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghoshnirmalya/product-hunt-clone-using-nextjs-and-hasura/HEAD/backend/migrations/1581958466734_update_permission_user_public_table_product/down.yaml -------------------------------------------------------------------------------- /backend/migrations/1581958466734_update_permission_user_public_table_product/up.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghoshnirmalya/product-hunt-clone-using-nextjs-and-hasura/HEAD/backend/migrations/1581958466734_update_permission_user_public_table_product/up.yaml -------------------------------------------------------------------------------- /backend/migrations/1581958476669_update_permission_user_public_table_product/down.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghoshnirmalya/product-hunt-clone-using-nextjs-and-hasura/HEAD/backend/migrations/1581958476669_update_permission_user_public_table_product/down.yaml -------------------------------------------------------------------------------- /backend/migrations/1581958476669_update_permission_user_public_table_product/up.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghoshnirmalya/product-hunt-clone-using-nextjs-and-hasura/HEAD/backend/migrations/1581958476669_update_permission_user_public_table_product/up.yaml -------------------------------------------------------------------------------- /backend/migrations/1581958496821_update_permission_user_public_table_product/down.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghoshnirmalya/product-hunt-clone-using-nextjs-and-hasura/HEAD/backend/migrations/1581958496821_update_permission_user_public_table_product/down.yaml -------------------------------------------------------------------------------- /backend/migrations/1581958496821_update_permission_user_public_table_product/up.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghoshnirmalya/product-hunt-clone-using-nextjs-and-hasura/HEAD/backend/migrations/1581958496821_update_permission_user_public_table_product/up.yaml -------------------------------------------------------------------------------- /backend/migrations/1581958513422_update_permission_user_public_table_product/down.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghoshnirmalya/product-hunt-clone-using-nextjs-and-hasura/HEAD/backend/migrations/1581958513422_update_permission_user_public_table_product/down.yaml -------------------------------------------------------------------------------- /backend/migrations/1581958513422_update_permission_user_public_table_product/up.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghoshnirmalya/product-hunt-clone-using-nextjs-and-hasura/HEAD/backend/migrations/1581958513422_update_permission_user_public_table_product/up.yaml -------------------------------------------------------------------------------- /backend/migrations/1581958517174_update_permission_user_public_table_product/down.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghoshnirmalya/product-hunt-clone-using-nextjs-and-hasura/HEAD/backend/migrations/1581958517174_update_permission_user_public_table_product/down.yaml -------------------------------------------------------------------------------- /backend/migrations/1581958517174_update_permission_user_public_table_product/up.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghoshnirmalya/product-hunt-clone-using-nextjs-and-hasura/HEAD/backend/migrations/1581958517174_update_permission_user_public_table_product/up.yaml -------------------------------------------------------------------------------- /backend/migrations/1581958590531_update_permission_user_public_table_product/down.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghoshnirmalya/product-hunt-clone-using-nextjs-and-hasura/HEAD/backend/migrations/1581958590531_update_permission_user_public_table_product/down.yaml -------------------------------------------------------------------------------- /backend/migrations/1581958590531_update_permission_user_public_table_product/up.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghoshnirmalya/product-hunt-clone-using-nextjs-and-hasura/HEAD/backend/migrations/1581958590531_update_permission_user_public_table_product/up.yaml -------------------------------------------------------------------------------- /backend/migrations/1581959331628_update_permission_user_public_table_product/down.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghoshnirmalya/product-hunt-clone-using-nextjs-and-hasura/HEAD/backend/migrations/1581959331628_update_permission_user_public_table_product/down.yaml -------------------------------------------------------------------------------- /backend/migrations/1581959331628_update_permission_user_public_table_product/up.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghoshnirmalya/product-hunt-clone-using-nextjs-and-hasura/HEAD/backend/migrations/1581959331628_update_permission_user_public_table_product/up.yaml -------------------------------------------------------------------------------- /backend/migrations/1581960027247_update_permission_user_public_table_product/down.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghoshnirmalya/product-hunt-clone-using-nextjs-and-hasura/HEAD/backend/migrations/1581960027247_update_permission_user_public_table_product/down.yaml -------------------------------------------------------------------------------- /backend/migrations/1581960027247_update_permission_user_public_table_product/up.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghoshnirmalya/product-hunt-clone-using-nextjs-and-hasura/HEAD/backend/migrations/1581960027247_update_permission_user_public_table_product/up.yaml -------------------------------------------------------------------------------- /backend/migrations/1581960140305_update_permission_user_public_table_product/down.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghoshnirmalya/product-hunt-clone-using-nextjs-and-hasura/HEAD/backend/migrations/1581960140305_update_permission_user_public_table_product/down.yaml -------------------------------------------------------------------------------- /backend/migrations/1581960140305_update_permission_user_public_table_product/up.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghoshnirmalya/product-hunt-clone-using-nextjs-and-hasura/HEAD/backend/migrations/1581960140305_update_permission_user_public_table_product/up.yaml -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghoshnirmalya/product-hunt-clone-using-nextjs-and-hasura/HEAD/docker-compose.yml -------------------------------------------------------------------------------- /frontend/.dockerignore: -------------------------------------------------------------------------------- 1 | .next/ 2 | node_modules/ 3 | Dockerfile 4 | -------------------------------------------------------------------------------- /frontend/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghoshnirmalya/product-hunt-clone-using-nextjs-and-hasura/HEAD/frontend/.gitignore -------------------------------------------------------------------------------- /frontend/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghoshnirmalya/product-hunt-clone-using-nextjs-and-hasura/HEAD/frontend/Dockerfile -------------------------------------------------------------------------------- /frontend/Dockerfile.multistage: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghoshnirmalya/product-hunt-clone-using-nextjs-and-hasura/HEAD/frontend/Dockerfile.multistage -------------------------------------------------------------------------------- /frontend/components/forms/add-new-product.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghoshnirmalya/product-hunt-clone-using-nextjs-and-hasura/HEAD/frontend/components/forms/add-new-product.js -------------------------------------------------------------------------------- /frontend/components/forms/edit-product.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghoshnirmalya/product-hunt-clone-using-nextjs-and-hasura/HEAD/frontend/components/forms/edit-product.js -------------------------------------------------------------------------------- /frontend/components/forms/sign-in.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghoshnirmalya/product-hunt-clone-using-nextjs-and-hasura/HEAD/frontend/components/forms/sign-in.js -------------------------------------------------------------------------------- /frontend/components/forms/sign-up.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghoshnirmalya/product-hunt-clone-using-nextjs-and-hasura/HEAD/frontend/components/forms/sign-up.js -------------------------------------------------------------------------------- /frontend/components/lists/products.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghoshnirmalya/product-hunt-clone-using-nextjs-and-hasura/HEAD/frontend/components/lists/products.js -------------------------------------------------------------------------------- /frontend/lib/init-graphql.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghoshnirmalya/product-hunt-clone-using-nextjs-and-hasura/HEAD/frontend/lib/init-graphql.js -------------------------------------------------------------------------------- /frontend/lib/with-graphql-client.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghoshnirmalya/product-hunt-clone-using-nextjs-and-hasura/HEAD/frontend/lib/with-graphql-client.js -------------------------------------------------------------------------------- /frontend/next.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghoshnirmalya/product-hunt-clone-using-nextjs-and-hasura/HEAD/frontend/next.config.js -------------------------------------------------------------------------------- /frontend/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghoshnirmalya/product-hunt-clone-using-nextjs-and-hasura/HEAD/frontend/package.json -------------------------------------------------------------------------------- /frontend/pages/_app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghoshnirmalya/product-hunt-clone-using-nextjs-and-hasura/HEAD/frontend/pages/_app.js -------------------------------------------------------------------------------- /frontend/pages/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghoshnirmalya/product-hunt-clone-using-nextjs-and-hasura/HEAD/frontend/pages/index.js -------------------------------------------------------------------------------- /frontend/pages/login.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghoshnirmalya/product-hunt-clone-using-nextjs-and-hasura/HEAD/frontend/pages/login.js -------------------------------------------------------------------------------- /frontend/pages/products/[productId]/edit.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghoshnirmalya/product-hunt-clone-using-nextjs-and-hasura/HEAD/frontend/pages/products/[productId]/edit.js -------------------------------------------------------------------------------- /frontend/pages/products/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghoshnirmalya/product-hunt-clone-using-nextjs-and-hasura/HEAD/frontend/pages/products/index.js -------------------------------------------------------------------------------- /frontend/pages/products/new.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghoshnirmalya/product-hunt-clone-using-nextjs-and-hasura/HEAD/frontend/pages/products/new.js -------------------------------------------------------------------------------- /frontend/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ghoshnirmalya/product-hunt-clone-using-nextjs-and-hasura/HEAD/frontend/yarn.lock --------------------------------------------------------------------------------