Skip to content

A containerized mobile crm application written in MEAN stack

Notifications You must be signed in to change notification settings

codebanesr/crm-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Getting Started

To get started with your project, follow the steps below:

  1. Install Redis and MongoDB

Redis and MongoDB are both required to run your project. You can use Docker to easily install both of them. Here's how:

docker-compose -f docker-compose.dev.yml up -d --no-deps redis mongodb worker

This command will start Redis and MongoDB containers using the docker-compose.dev.yml configuration file.

  1. Use dummy data to restore working set data, use the following command
docker exec -i mongoback sh -c 'mongorestore --archive' < db.dump

This command will export the data from the MongoDB container into a db.dump file.

  1. Start the development server

Finally, to start the development server, run the following command:

npm run start:dev

This command will start the development server for your project.

Congratulations! 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.


Project structure

[~/Documents/GitHub/crm]$ ls
crm-api                    crm-ui                       molecule_bull_microservice

[~/Documents/GitHub/crm]$ cd crm-api

File processing service

Microservice for file processing Bulk user uploads are handled by a worker process linked above.

docker-compose -f docker-compose.dev.yml up -d --no-deps worker

Frontend application

Frontend app written using ionic and angular

  1. switch to cdk-drag-drop branch
  2. npm start for development or npm run build for production deployment

use credentials -

username: [email protected]
password: password123

to login into the app


docker system prune -> Delete prev images docker-compose up -d --build --no-deps main -> build and restart main server docker-compose up -d --build --no-deps worker -> Build and restart worker

Contact me on Codementor

About

A containerized mobile crm application written in MEAN stack

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published