GithubHelp home page GithubHelp logo

antonovigor / http-services-and-react Goto Github PK

View Code? Open in Web Editor NEW
22.0 6.0 8.0 2.52 MB

Демонстрация HTTP-Сервисов в 1С:Предприятие 8.3 (http-сервисы, node.js, express.js, react)

License: MIT License

CSS 30.28% HTML 3.50% JavaScript 35.29% 1C Enterprise 30.93%

http-services-and-react's Introduction

Интро

Демонстрация разработки простого фронтенда для конфигурации на 1С:Предприятие. Стек технологий: HTTP-сервисы, React, axios.

Концепт

SPA приложение для поиска объектов недвижимости. Информация по объектам недвижимости формируется в отдельной конфигурации, разработанной на платформе "1С:Предприятие 8.3" (backend). Фронтенд построен с использование библиотеки React.

Обновление от 19.10.2018

Для удобства тестирования приложения в рамках круглого стола, я намерено переключил загрузку информации о предложениях не из 1С:Предпрятия, а с внешнего сервера. К сожалению, не получилось развернуть 1С:Предприятие на моем макбуке, поэтому сделал временное решение. После завершения конференции "Инфостарт 2018" закоммитчу обновление и подробную инструкицю по развертыванию.

Как запустить фронтенд

Для запуска фронтенда вам потребуется установленная node.js. Обращение к node должно быть доступно из консоли (bash, cmd). Перед первым запуском вам требуется установить все зависимости. Для установки воспользуйтесь командой npm install (пишем в консоле):

npm install

После получения всех пакетов, запустите проект:

npm start

По умолчанию фронтенд стартует на 3000 порту. Откройте браузер (если он не запустился) и введите в адресной строке: http://localhost:3000.

Связь с бекенд

Для удобства разработки и поставки решения в prod, подготовлено два конфигурационных файла с настройками окружений (разработка, продакшн): development.env и production.env. Оба файла расположены в корне проекта.

http-services-and-react's People

Contributors

antonovigor avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

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.