{"id":21012308,"url":"https://github.com/codebanesr/crm-api","last_synced_at":"2025-03-13T16:16:42.842Z","repository":{"id":120253582,"uuid":"257058247","full_name":"codebanesr/crm-api","owner":"codebanesr","description":"A containerized mobile crm application written in MEAN stack","archived":false,"fork":false,"pushed_at":"2023-04-24T22:54:03.000Z","size":44889,"stargazers_count":1,"open_issues_count":2,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-20T11:29:21.572Z","etag":null,"topics":["backend","crm","docker","docker-compose","kuberntes","mongodb"],"latest_commit_sha":null,"homepage":"https://applesauce.co.in","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/codebanesr.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2020-04-19T17:16:16.000Z","updated_at":"2023-02-26T16:10:53.000Z","dependencies_parsed_at":"2023-07-29T05:01:34.948Z","dependency_job_id":null,"html_url":"https://github.com/codebanesr/crm-api","commit_stats":null,"previous_names":["codebanesr/crm-api"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codebanesr%2Fcrm-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codebanesr%2Fcrm-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codebanesr%2Fcrm-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codebanesr%2Fcrm-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codebanesr","download_url":"https://codeload.github.com/codebanesr/crm-api/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243437965,"owners_count":20290864,"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":["backend","crm","docker","docker-compose","kuberntes","mongodb"],"created_at":"2024-11-19T09:36:13.890Z","updated_at":"2025-03-13T16:16:42.817Z","avatar_url":"https://github.com/codebanesr.png","language":"TypeScript","readme":"# Getting Started\n\nTo get started with your project, follow the steps below:\n1. Install Redis and MongoDB\n\nRedis and MongoDB are both required to run your project. You can use Docker to easily install both of them. Here's how:\n\n```sh\ndocker-compose -f docker-compose.dev.yml up -d --no-deps redis mongodb worker\n```\n\n\nThis command will start Redis and MongoDB containers using the docker-compose.dev.yml configuration file.\n\n2. Use dummy data\nto restore working set data, use the following command\n```sh\ndocker exec -i mongoback sh -c 'mongorestore --archive' \u003c db.dump\n```\n\nThis command will export the data from the MongoDB container into a db.dump file.\n\n3. Start the development server\n\nFinally, to start the development server, run the following command:\n\n```bash\nnpm run start:dev\n```\n\nThis command will start the development server for your project.\n\nCongratulations! You have now successfully installed Redis and MongoDB, loaded dummy data, and started the development server for your project. You can now start working on your project and building out its features.\n\n---\n## Project structure\n```sh\n[~/Documents/GitHub/crm]$ ls\ncrm-api                    crm-ui                       molecule_bull_microservice\n\n[~/Documents/GitHub/crm]$ cd crm-api\n```\n## File processing service\n[Microservice for file processing](https://github.com/shanurrahman/molecule_bull_microservice)\nBulk user uploads are handled by a worker process linked above.\n\n```sh\ndocker-compose -f docker-compose.dev.yml up -d --no-deps worker\n```\n\n## Frontend application\n[Frontend app written using ionic and angular](https://github.com/shanurrahman/crm-ui/tree/cdk-drag-drop)\n1. switch to `cdk-drag-drop` branch\n2. `npm start` for development or `npm run build` for production deployment\n\nuse credentials - \n```\nusername: shanur.cse.nitap@gmail.com\npassword: password123\n```\nto login into the app\n\n\n\n---\n`docker system prune` -\u003e Delete prev images\n`docker-compose up -d --build --no-deps main` -\u003e build and restart main server\n`docker-compose up -d --build --no-deps worker` -\u003e Build and restart worker\n\n\n\n[![Contact me on Codementor](https://www.codementor.io/m-badges/shanurrahman/book-session.svg)](https://www.codementor.io/@shanurrahman?refer=badge)","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodebanesr%2Fcrm-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodebanesr%2Fcrm-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodebanesr%2Fcrm-api/lists"}