This document outlines the steps required to set up the Text Analyzer application on your local development environment.
Before you begin, ensure you have the following installed:
- Node.js
- npm (Node Package Manager)
- Docker and Docker Compose
Clone the repository to your local machine using:
git clone <repository-url>Navigate to the cloned directory:
cd <repository-name>Copy the env.example file and rename it to .env:
cp env.example .envOpen the .env file and adjust the credentials and other configuration settings according to your environment.
Ensure Docker is running on your system. Set up the database using Docker Compose:
sudo docker-compose up -dThis command starts the required database services in detached mode.
Install the necessary Node.js dependencies:
npm installTo start the application in a development environment, run:
npm run devFor a production environment, use:
npm startThe application should now be running and accessible on the specified port (default: 5000).
Ensure that the ports specified in the Docker Compose and .env files are free and not being used by other applications. For detailed API documentation, refer to the docs directory (if applicable). For any issues or contributions, please open an issue or pull request in the repository.