Giter VIP home page Giter VIP logo

mch_2022_dreamteam3.0's Introduction

MCH_2022_DreamTeam3.0

Repo for Hackathon Moskow City Hack 2022 (team name: DreamTeam3.0)

Установка

Клонируем репо

git clone https://github.com/MarishkaAnt/MCH_2022_DreamTeam3.0.git

Начало работы с подпроектом frontend

Менеджер пакетов npm

В подпроекте frontend используется менеджер пакетов npm.

# устанавливаем node
nvm install 14.18.2

Начальная настройка frontend

# переходим в директорию frontend
cd mosprom/frontend/

# устанавливаем пакеты (из директории frontend)
npm i

# запускаем приложение
npm start

Начало работы с подпроектом backend

Начальная настройка backend

СУБД PostreSQL

Устанавливаем PostreSQL

Добавляем базу данных

Maven

Устанавливаем maven

# переходим в директорию backend
cd mosprom/backend/

# билдим проект
mvn clean package

IntelliJ IDEA

Устанавливаем IntelliJ IDEA Ultimate Edition (с запуском из командной строки разобраться не удалось быстро)

Открываем подпроект backend в IntelliJ IDEA

REST API

# переходим в модуль rest

# устанавливаем свойства в файле
src/main/resources/application.properties

# устанавливаем url базы данных
spring.datasource.url=

# устанавливаем пользователя и пароль для подключения к базе данных
spring.datasource.username=
spring.datasource.password=

# запускаем приложение
src/main/java/com/dreamteam3/rest/RestApplication.java

Утилита Company uploader

# переходим в модуль company-uploader

# устанавливаем свойства в файле
src/main/resources/application.properties

# устанавливаем url базы данных
spring.datasource.url=

# устанавливаем пользователя и пароль для подключения к базе данных
spring.datasource.username=
spring.datasource.password=

# устанавливаем режим загрузки компаний
com.dreamteam3.mosprom.company-uploader.resourceType=FILE ИЛИ DATABASE

# устанавливаем путь к файлу со списком компаний (только латинские буквы)
com.dreamteam3.mosprom.company-uploader.filePath=

# запускаем приложение
src/main/java/com/dreamteam3/company/uploader/CompanyUploaderUtility.java

Утилита Crawler

# переходим в модуль crawler

# устанавливаем свойства в файле
src/main/resources/application.properties

# устанавливаем url базы данных
spring.datasource.url=

# устанавливаем пользователя и пароль для подключения к базе данных
spring.datasource.username=
spring.datasource.password=

# запускаем приложение
src/main/java/com/dreamteam3/crawler/CrawlerUtility.java

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.