- Clone the repository:
git clone [email protected]:matenka-andrii/fullstack-project.git
- Change into the project directory:
cd fullstack-project
- Install dependencies:
npm install
- Create a
.env
file in the root directory of the project with the following contents:
MONGODB_URL=mongodb://mongo:mongo@localhost:27017
PORT=5000
- Start the Docker containers (Note: You must have the Docker Desktop application installed on your system):
docker compose up -d
- Start the server:
npm run start:dev
After completing the above steps, the server should be running and accessible at http://localhost:5000.
- Change into the client directory:
cd client
- Install client dependencies:
npm install
- Start the client application:
npm run start