{"id":15065994,"url":"https://github.com/naresh-chandanbatve/email-manager","last_synced_at":"2026-01-03T03:42:39.927Z","repository":{"id":243514354,"uuid":"812623579","full_name":"Naresh-chandanbatve/email-manager","owner":"Naresh-chandanbatve","description":"an nextjs application which fetches all your emails and classify them in different categories","archived":false,"fork":false,"pushed_at":"2024-07-13T06:56:54.000Z","size":1010,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-16T01:12:15.888Z","etag":null,"topics":["aws","fullstack-development","gmail-api","googleapi","googleauth","k8s","kubernetes","nextauth","nextjs","terraform"],"latest_commit_sha":null,"homepage":"https://email-manager-pi.vercel.app","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Naresh-chandanbatve.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.txt","code_of_conduct":"CODE-OF-CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-06-09T12:24:29.000Z","updated_at":"2024-12-23T21:12:57.000Z","dependencies_parsed_at":"2024-06-27T17:41:14.547Z","dependency_job_id":"829862aa-64a4-4d6d-989c-0ca533189298","html_url":"https://github.com/Naresh-chandanbatve/email-manager","commit_stats":null,"previous_names":["naresh-chandanbatve/email-manager"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Naresh-chandanbatve%2Femail-manager","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Naresh-chandanbatve%2Femail-manager/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Naresh-chandanbatve%2Femail-manager/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Naresh-chandanbatve%2Femail-manager/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Naresh-chandanbatve","download_url":"https://codeload.github.com/Naresh-chandanbatve/email-manager/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243809885,"owners_count":20351407,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aws","fullstack-development","gmail-api","googleapi","googleauth","k8s","kubernetes","nextauth","nextjs","terraform"],"created_at":"2024-09-25T00:59:10.633Z","updated_at":"2026-01-03T03:42:39.866Z","avatar_url":"https://github.com/Naresh-chandanbatve.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\u003c!--\nHey, thanks for using the awesome-readme-template template.  \nIf you have any enhancements, then fork this project and create a pull request \nor just open an issue with the label \"enhancement\".\n\nDon't forget to give this project a star for additional support ;)\nMaybe you can mention me or this repo in the acknowledgements too\n--\u003e\n\u003cdiv align=\"center\"\u003e\n\n  \u003cimg src=\"assets/logosV2/logo.png\" alt=\"logo\" width=\"200\" height=\"auto\" /\u003e\n  \u003ch1\u003eEmail Manager\u003c/h1\u003e\n  \n  \u003cp\u003e\n    An awsome website to mannage all your emails \n  \u003c/p\u003e\n  \n  \n\u003c!-- Badges --\u003e\n\u003cp\u003e\n  \u003ca href=\"https://github.com/Naresh-chandanbatve/email-manager/graphs/contributors\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/contributors/Naresh-chandanbatve/email-manager\" alt=\"contributors\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/last-commit/Naresh-chandanbatve/email-manager\" alt=\"last update\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/Naresh-chandanbatve/email-manager/network/members\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/forks/Naresh-chandanbatve/email-manager\" alt=\"forks\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/Naresh-chandanbatve/email-manager/stargazers\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/stars/Naresh-chandanbatve/email-manager\" alt=\"stars\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/Naresh-chandanbatve/email-manager/issues/\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/issues/Naresh-chandanbatve/email-manager\" alt=\"open issues\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/Naresh-chandanbatve/email-manager/blob/master/LICENSE\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/license/Louis3797/awesome-readme-template.svg\" alt=\"license\" /\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n   \n\u003ch4\u003e\n    \u003ca href=\"https://email-manager-pi.vercel.app/\"\u003eView Demo\u003c/a\u003e\n  \u003cspan\u003e · \u003c/span\u003e\n    \u003ca href=\"https://github.com/Naresh-chandanbatve/email-manager\"\u003eDocumentation\u003c/a\u003e\n  \u003cspan\u003e · \u003c/span\u003e\n    \u003ca href=\"https://github.com/Naresh-chandanbatve/email-manager/issues/\"\u003eReport Bug\u003c/a\u003e\n  \u003cspan\u003e · \u003c/span\u003e\n    \u003ca href=\"https://github.com/Naresh-chandanbatve/email-manager/issues/\"\u003eRequest Feature\u003c/a\u003e\n  \u003c/h4\u003e\n\u003c/div\u003e\n\n\u003cbr /\u003e\n\n\u003c!-- Table of Contents --\u003e\n# :notebook_with_decorative_cover: Table of Contents\n\n- [:notebook\\_with\\_decorative\\_cover: Table of Contents](#notebook_with_decorative_cover-table-of-contents)\n  - [:star2: About the Project](#star2-about-the-project)\n    - [:camera: Screenshots](#camera-screenshots)\n    - [:space\\_invader: Tech Stack](#space_invader-tech-stack)\n    - [:dart: Features](#dart-features)\n    - [:key: Environment Variables](#key-environment-variables)\n  - [:toolbox: Installation](#toolbox-installation)\n    - [:running: Run Locally](#running-run-locally)\n    - [:whale: Run the Docker Image](#whale-run-the-docker-image)\n      - [:page\\_with\\_curl: Note:](#page_with_curl-note)\n  - [:hammer\\_and\\_wrench: Recreate the Infrastructure on AWS using Terraform](#hammer_and_wrench-recreate-the-infrastructure-on-aws-using-terraform)\n      - [AWS Resources that will be created:](#aws-resources-that-will-be-created)\n  - [:wave: Contributing](#wave-contributing)\n    - [:scroll: Code of Conduct](#scroll-code-of-conduct)\n  - [:warning: License](#warning-license)\n  - [:handshake: Contact](#handshake-contact)\n\n  \n\n\u003c!-- About the Project --\u003e\n## :star2: About the Project\n\n\n\u003c!-- Screenshots --\u003e\n### :camera: Screenshots\n\n\u003cdiv align=\"center\"\u003e \n  \u003cimg src=\"./assets/screenshot.png\" alt=\"screenshot\" /\u003e\n\u003c/div\u003e\n\n\n\u003c!-- TechStack --\u003e\n### :space_invader: Tech Stack\n\n\u003cdetails\u003e\n  \u003csummary\u003eClient\u003c/summary\u003e\n  \u003cul\u003e\n    \u003cli\u003e\u003ca href=\"https://www.typescriptlang.org/\"\u003eJavaScript\u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"https://nextjs.org/\"\u003eNext.js\u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"https://reactjs.org/\"\u003eReact.js\u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"https://tailwindcss.com/\"\u003eTailwindCSS\u003c/a\u003e\u003c/li\u003e\n  \u003c/ul\u003e\n\u003c/details\u003e\n\n\u003cdetails\u003e\n  \u003csummary\u003eServer\u003c/summary\u003e\n  \u003cul\u003e\n    \u003cli\u003e\u003ca href=\"https://www.typescriptlang.org/\"\u003eJavaScript\u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"https://nextjs.com/\"\u003eNext.js\u003c/a\u003e\u003c/li\u003e\n  \u003c/ul\u003e\n\u003c/details\u003e\n\u003c!-- \n\u003cdetails\u003e\n\u003csummary\u003eDatabase\u003c/summary\u003e\n  \u003cul\u003e\n    \u003cli\u003e\u003ca href=\"https://www.mongodb.com/\"\u003eMongoDB\u003c/a\u003e\u003c/li\u003e\n  \u003c/ul\u003e\n\u003c/details\u003e --\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003eDevOps\u003c/summary\u003e\n  \u003cul\u003e\n    \u003cli\u003e\u003ca href=\"https://www.docker.com/\"\u003eDocker\u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"https://www.jenkins.io/\"\u003eJenkins\u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"https://www.terraform.io/\"\u003eTerraform\u003c/a\u003e\u003c/li\u003e\n  \u003c/ul\u003e\n\u003c/details\u003e\n\n\u003c!-- Features --\u003e\n### :dart: Features\n\n- Secure google sign in with NextAuth\n- Fetching all your emails\n- Classifying emails in different catagories (pending)\n  \n  \n\n\u003c!-- Color Reference\n### :art: Color Reference\n\n| Color             | Hex                                                                |\n| ----------------- | ------------------------------------------------------------------ |\n| Primary Color | ![#222831](https://via.placeholder.com/10/222831?text=+) #222831 |\n| Secondary Color | ![#393E46](https://via.placeholder.com/10/393E46?text=+) #393E46 |\n| Accent Color | ![#00ADB5](https://via.placeholder.com/10/00ADB5?text=+) #00ADB5 |\n| Text Color | ![#EEEEEE](https://via.placeholder.com/10/EEEEEE?text=+) #EEEEEE | --\u003e\n\n\n\u003c!-- Env Variables --\u003e\n### :key: Environment Variables\n\nTo run this project, you will need to add the following environment variables to your .env file\n\n`GOOGLE_CLIENT_ID`\n\n`GOOGLE_CLIENT_SECRET`\n\n`NEXTAUTH_SECRET`\n\n`NEXTAUTH_URL`\n\n`REDIRECT_URI`\n\n`REFRESH_TOKEN`\n\n`NEXT_PUBLIC_APP_DOMAIN`\n\n\u003c!-- Getting Started --\u003e\n## \t:toolbox: Installation\n\n\u003c!-- Prerequisites\n### :bangbang: Prerequisites\n\nThis project uses npm as package manager\n\n```bash\n npm install --global yarn\n``` --\u003e\n\n\u003c!-- Installation --\u003e\n\u003c!-- ### :gear: Installation --\u003e\n\n\u003c!-- Install Email-Manager with npm\n\n```bash\n  yarn install my-project\n  cd my-project\n``` --\u003e\n   \n\u003c!-- Running Tests --\u003e\n\u003c!-- ### :test_tube: Running Tests\n\nTo run tests, run the following command\n\n```bash\n  yarn test test\n``` --\u003e\n\n\u003c!-- Run Locally --\u003e\n### :running: Run Locally\n\nClone the project\n\n```bash\n  git clone https://github.com/Naresh-chandanbatve/email-manager.git\n```\n\nGo to the project directory\n\n```bash\n  cd email-manager\n```\n\nInstall dependencies\n\n```bash\n  npm install\n```\n\nStart the server\n\n```bash\n  npm run dev\n```\n\n\n### :whale: Run the Docker Image\n\nYou can also run the Docker Image to get started easily.\nget the Docker Image by running the following command\n\n```bash\n  docker pull nareshchandanbatve/email-manager:latest\n```\n\nRun the docker image by running the following command\n\n```bash\n  docker run -p 3000:3000 --env-file ./.env nareshchandanbatve/email-manager:latest\n```\n\n#### :page_with_curl: Note: \nyou must have the .env file with all the environment variables listed above\n\n\n\n## :hammer_and_wrench: Recreate the Infrastructure on AWS using Terraform \n\nprerequisites:\n  - you must have the aws IAM account with required permissions\n  - you must have Terraform installed on your machine\n\nAll the Terraform code is available in /terraform directory so go to /terraform directory\n\nAdd all the environment variables listed above in the variables.tf file as shown in the varaibles.example.tf file\n\nThen run the following command to intialize terraform\n\n```bash \n  terraform init\n```\n\nThen run the following command it may prompt errors, fix them if any.\n\n```bash \n  terraform plan\n```\n\nThen run and type 'yes' when prompted. \n\n```bash \n  terraform apply\n```\n\nNow you have your infrastructure ready with docker image of this application running on the ec2 server.\n\n#### AWS Resources that will be created:\n\n- EC2 instance\n- Custom VPC\n- Security Group with allowing all ingress and egress port (warning: It can be security vulnerability, I am allowing all ports for development only allow only ports that are needed for production)\n- Subnet\n- Internet Gateway\n- Routing Table\n\u003c!-- Deployment --\u003e\n\u003c!-- ### :triangular_flag_on_post: Deployment\n\nTo deploy this project run\n\n```bash\n  yarn deploy\n``` --\u003e\n\n\n\u003c!-- Usage --\u003e\n\u003c!-- ## :eyes: Usage --\u003e\n\n\u003c!-- Use this space to tell a little more about your project and how it can be used. Show additional screenshots, code samples, demos or link to other resources.\n\n\n```javascript\nimport Component from 'my-project'\n\nfunction App() {\n  return \u003cComponent /\u003e\n}\n``` --\u003e\n\n\u003c!-- Roadmap --\u003e\n\u003c!-- ## :compass: Roadmap\n\n* [x] Todo 1\n* [ ] Todo 2 --\u003e\n\n\n\u003c!-- Contributing --\u003e\n## :wave: Contributing\n\n\u003ca href=\"https://github.com/Naresh-chandanbatve/email-manager/graphs/contributors\"\u003e\n  \u003cimg src=\"https://contrib.rocks/image?repo=Naresh-chandanbatve/email-manager\" /\u003e\n\u003c/a\u003e\n\n\nContributions are always welcome!\n\nSee `CONRIBUTING.md` for ways to get started.\n\n\n\u003c!-- Code of Conduct --\u003e\n### :scroll: Code of Conduct\n\nPlease read the [Code of Conduct](https://github.com/Naresh-chandanbatve/email-manager/blob/master/CODE_OF_CONDUCT.md)\n\n\u003c!-- FAQ --\u003e\n\u003c!-- ## :grey_question: FAQ\n\n- Question 1\n\n  + Answer 1\n\n- Question 2\n\n  + Answer 2 --\u003e\n\n\n\u003c!-- License --\u003e\n## :warning: License\n\nDistributed under the MIT License. See LICENSE.txt for more information.\n\n\n\u003c!-- Contact --\u003e\n## :handshake: Contact\n\nNaresh Chandanbatve - [@Nareshchandanb1](https://twitter.com/Nareshchandanb1) - chandanbatven@gmail.com\n\nProject Link: [https://github.com/Naresh-chandanbatve/email-manager](https://github.com/Naresh-chandanbatve/email-manager)\n\n\n\u003c!-- Acknowledgments\n## :gem: Acknowledgements\n\nUse this section to mention useful resources and libraries that you have used in your projects.\n\n - [Shields.io](https://shields.io/)\n - [Awesome README](https://github.com/matiassingers/awesome-readme)\n - [Emoji Cheat Sheet](https://github.com/ikatyang/emoji-cheat-sheet/blob/master/README.md#travel--places)\n - [Readme Template](https://github.com/othneildrew/Best-README-Template)\n --\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnaresh-chandanbatve%2Femail-manager","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnaresh-chandanbatve%2Femail-manager","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnaresh-chandanbatve%2Femail-manager/lists"}