Skip to content

Dvir-Cohen1/crm-final-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CRM - Task & Project managment 👋

Version

This project consists of a client and server application.

Client

The client application is built using React and Next.js. It provides a user interface for the project.

Getting Started

make sure to set env file - env.example invcude in root folder

To run the client application, navigate to the client directory and follow these steps:

  1. Install the dependencies using the following command:
npm install
  1. Start the development server:
npm run dev

The client application will be accessible at http://localhost:3000.

Dependencies

The client application depends on the following libraries:

  • @react-google-maps/api: Integration with Google Maps API.
  • @reduxjs/toolkit: Redux state management library.
  • antd: UI component library.
  • axios: HTTP client library.
  • i18next: Internationalization library.
  • next: React framework for server-side rendering.
  • react: JavaScript library for building user interfaces.
  • redux: Predictable state container for JavaScript apps.
  • and more...

Server

The server application provides backend functionality for the project. It is built using Node.js and Express.js.

Getting Started

make sure to set env file - env.example invcude in root folder

To run the server application, navigate to the server directory and follow these steps:

  1. Install the dependencies using the following command:
npm install
  1. Start the development server:
npm run dev

The server will be accessible at http://localhost:3010.

Dependencies

The server application depends on the following libraries:

  • bcrypt: Password hashing library.
  • express: Web application framework for Node.js.
  • jsonwebtoken: Library for generating and verifying JSON Web Tokens (JWT).
  • mongoose: MongoDB object modeling tool.
  • multer: Middleware for handling file uploads.
  • and more...

🐋 Docker Compose

To run the project using Docker Compose, make sure you have Docker installed. Then, follow these steps:

  1. Copy the provided docker-compose.yml file to the project's root directory.
  2. Open a terminal and navigate to the project's root directory.
  3. Run the following command to start the containers:
docker-compose up

This will build and start the client and server containers. The client application will be accessible at http://localhost:3000, and the server API will be accessible at http://localhost:3010.

Stopping the Containers

To stop the Docker containers, press Ctrl + C in the terminal where you started the containers. This will gracefully stop the containers.

Deleting the Containers

To delete the Docker containers and associated volumes, use the following command:

docker-compose down -v

This will stop and remove the containers, along with any volumes associated with the project.

Note: Running docker-compose down -v will delete any persisted data in volumes, so use it with caution if you want to preserve the data.

License

This project is licensed under the License Name.

Author

👤 Dvir Cohen

Show your support

Give a ⭐️ if this project helped you!


About

CRM application - small tasks and projects management application

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published