The client application is built using React and Next.js. It provides a user interface for the project.
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:
- Install the dependencies using the following command:
npm install
- Start the development server:
npm run dev
The client application will be accessible at http://localhost:3000
.
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...
The server application provides backend functionality for the project. It is built using Node.js and Express.js.
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:
- Install the dependencies using the following command:
npm install
- Start the development server:
npm run dev
The server will be accessible at http://localhost:3010
.
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...
To run the project using Docker Compose, make sure you have Docker installed. Then, follow these steps:
- Copy the provided docker-compose.yml file to the project's root directory.
- Open a terminal and navigate to the project's root directory.
- 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.
To stop the Docker containers, press Ctrl + C in the terminal where you started the containers. This will gracefully stop 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.
This project is licensed under the License Name.
👤 Dvir Cohen
- Github: @Dvir-Cohen1
Give a ⭐️ if this project helped you!