{"id":28583629,"url":"https://github.com/ravirajbhardwaj/trackist","last_synced_at":"2025-06-11T05:09:49.384Z","repository":{"id":290570742,"uuid":"963357957","full_name":"ravirajbhardwaj/trackist","owner":"ravirajbhardwaj","description":"Manage tasks, boards, and progress in one easy workspace","archived":false,"fork":false,"pushed_at":"2025-05-22T19:59:24.000Z","size":895,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-22T21:03:02.043Z","etag":null,"topics":["api","backend","frontend","mongodb","project-management"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ravirajbhardwaj.png","metadata":{"files":{"readme":"Readme.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"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,"zenodo":null}},"created_at":"2025-04-09T14:57:55.000Z","updated_at":"2025-05-22T19:59:28.000Z","dependencies_parsed_at":"2025-04-29T14:35:56.180Z","dependency_job_id":"4e3439bb-62c4-4826-8836-f7c5acd9358c","html_url":"https://github.com/ravirajbhardwaj/trackist","commit_stats":null,"previous_names":["ravirajbhardwaj/trackist"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ravirajbhardwaj%2Ftrackist","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ravirajbhardwaj%2Ftrackist/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ravirajbhardwaj%2Ftrackist/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ravirajbhardwaj%2Ftrackist/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ravirajbhardwaj","download_url":"https://codeload.github.com/ravirajbhardwaj/trackist/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ravirajbhardwaj%2Ftrackist/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259204818,"owners_count":22821162,"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":["api","backend","frontend","mongodb","project-management"],"created_at":"2025-06-11T05:09:45.401Z","updated_at":"2025-06-11T05:09:49.376Z","avatar_url":"https://github.com/ravirajbhardwaj.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 📝 Trackist\n\n**Trackist** is a simple, efficient task management tool built to help individuals and small teams organize, track, and complete tasks with ease.\n\n---\n\n## ✨ Features\n\n- Organized File and Folder Structure\n\n- Fully Responsive Design\n\n- Well-organized \u0026 intuitive UI\n\n- Server Side State Management \u0026 Caching using React Query.\n\n- Client Side States Management with Redux.\n\n- Custom Hooks\n\n- Schema Validation using Express validator.\n\n- Robus Authentication\n\n- Google SSO (Single Sign-On)\n\n- Security Measures like rate limiting and referesh tokens.\n\n- Documentation with local development setup guide.\n\n- Dark and Light Mode\n\n## 🛠️ Tech Stack\n\n- [MongoDB](https://www.mongodb.com/) – database\n\n- [Express](https://expressjs.com/) – framework\n\n- [React](https://react.dev/) – frontend\n\n- [Node.js](https://nodejs.org/) – JavaScript runtime\n\n- [Tailwind CSS](https://tailwindcss.com/) – CSS\n\n- [Redux](https://redux.js.org/) – state management\n\n- [Tanstack Query](https://tanstack.com/query/latest) – asynchronous state management\n\n- [Mongoose](https://mongoosejs.com/) – ODM\n\n- [Git](https://git-scm.com/) – versioning\n\n- [Docker](https://www.docker.com/) – containerziation\n\n- [Vite](https://vitejs.dev/) – building\n\n- [Vercel](https://vercel.com/) – deployments\n\n## 🏁 Installation\n\n## Models\n\nSchema: [eraserSchema.txt](./backend/eraserSchema.txt)\n\n![DB Design](./assets/images/eraserSchema.svg)\n\n### 2. Install dependencies\n\n0. **Prerequisites**\n\nMake sure you have the following installed on your machine:\n\n- [Git](https://git-scm.com/)\n- [Node.js](https://nodejs.org/en)\n- [npm](https://www.npmjs.com/) (Node Package Manager)\n\n1. **Clone the repository:**\n\n```bash\n  git clone https://github.com/ravirajbhardwaj/trackist.git\n```\n\n2. **Navigate to the project directory:**\n\n```bash\ncd trackist\nnpm install\n```\n\n### 3. Set up environment variables\n\nCreate `.env` files in the server and client folder and copy paste the content of `.env.sample`\n\n```bash\n# server side\ncd backend\ncp .env.eample .env # then update `.env` with your creadentials.\ncd ..\n\n# client side\ncd frontend\ncp .env.emaple .env # then update `.env` if required.\ncd ..\n```\n\n---\n\nThis project requires setting up environment variables and generating key pairs for authentication.\n\n1. Create a `secrets` directory at the root of the project:\n\n```bash\nmkdir secrets\n```\n\n---\n\n2. Inside the `secrets` directory, create two files:\n\n- `private.pem`: This will store the private key.\n- `public.pem`: This will store the public key.\n\n3. Generate a public and private key pair. You can use the following command to generate them:\n\n✅ 1. Generate Private Key (private.pem)\n\n```bash\nopenssl genpkey -algorithm RSA -out private.pem -pkeyopt rsa_keygen_bits:2048\n```\n\n- -algorithm RSA → We are using RSA algorithm.\n- rsa_keygen_bits:2048 → Sets key size to 2048 bits (standard secure size).\n- This generates `private.pem`.\n- The private key is used to sign the JWTs, ensuring that only the server can create valid tokens.\n- The private key should be kept secret and secure, as it is used to sign the JWTs.\n\n✅ 2. Extract Public Key (public.pem) from Private Key\n\n```bash\nopenssl rsa -pubout -in private.pem -out public.pem\n```\n\n- -pubout → Extracts the public key from the private key.\n- -in private.pem → Specifies the input file (private key).\n- -out public.pem → Specifies the output file (public key).\n- This generates `public.pem`.\n- The public key is derived from the private key, allowing you to share it without compromising security.\n- The private key should be kept secret and secure, while the public key can be shared with anyone who needs to verify the JWTs signed with the private key.\n- The public key is used to verify the JWTs, ensuring that they were signed by the server and have not been tampered with.\n\n---\n\n### 4. This section provides instructions to start the database container using Docker Compose.\n\nPrerequisites:\n\n- Ensure Docker and Docker Compose are installed on your system..\n\nSteps to start the database container:\n\n1. Open a terminal or command prompt.\n2. Navigate to the directory containing the `compose.yml` file.\n3. Run the following command to start the database container in detached mode:\n\n```bash\ndocker-compose up -d\n```\n\n4. Confirm that the container is running by executing:\n\n```bash\ndocker ps\n```\n\n5. To stop the container, use:\n\n```bash\ndocker-compose down\n```\n\n---\n\n#### 5. Use the following commands to run the project:\n\n- **Start the frontend app:**\n\n  ```bash\n  cd frontend\n  npm install\n  npm run dev\n  ```\n\n- **Start the backend server:**\n\n  ```bash\n  cd ../backend\n\n  npm start\n  ```\n\n- **Open app in browser:**\n\nVisit [https://localhost:5173](https://localhost:5173) to access frontent.\n\n- **Explore the API:**\n\n  Access the project APIs at the specified endpoints using [API Docs]().\n\n---\n\n## 🤝\u0026nbsp;\u0026nbsp;Contributing\n\nContributions are always welcome!\n\nSee [CONTRIBUTING.md](./CONTRIBUTING.md) for ways to get started.\n\u003c/br\u003e\u003c/br\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fravirajbhardwaj%2Ftrackist","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fravirajbhardwaj%2Ftrackist","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fravirajbhardwaj%2Ftrackist/lists"}