Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Инструкция по запуску проекта

1. Запуск бэкенда (NestJS)

Перейдите в директорию бэкенда и установите зависимости: npm install

Настройка переменных окружения: Создайте файл .env в корневой директории api и добавьте переменные:

APPLICATION_PORT=3001 ALLOWED_ORIGIN=http://localhost:3040

Запустите сервер с помощью команды: npm run start

2. Запуск фронтенда (Next.js)

Перейдите в директорию фронтенда и установите зависимости:

npm install

Настройка переменных окружения: Создайте файл .env в корневой директории client и добавьте переменные:

NEXT_PUBLIC_BASE_API_URL=http://localhost:3001

Запустите фронтенд с помощью команды:

npm run dev Приложение будет доступно по адресу: http://localhost:3040.

Для тестирования api есть два контроллера:

  • tasks/optimize-from-file - тестирование с помощью переданного файла json в FormData по полю file
  • tasks/optimize - классическая ручка, для передачи валидного json в body

Дополнительная информация:

About

The task of the case "Optimizing the project calendar plan taking into account time and resource constraints" was to create an algorithm that builds an optimal calendar plan based on the input data about the project based on the needs of the organization

Topics

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages