Публичная версия Portal
Go to file
2023-08-28 10:50:07 +03:00
.vscode Improve UI, start refactoring colors 2023-08-27 00:19:19 +03:00
nginx Update network setup 2023-08-11 12:04:45 +03:00
postgresql Setup https for prod 2023-08-09 16:55:53 +03:00
rsconcept Fix bug on deleting last cst 2023-08-28 10:50:07 +03:00
.dockerignore Implement text reference resolution for backend 2023-08-20 13:59:46 +03:00
.gitignore Implement text reference resolution for backend 2023-08-20 13:59:46 +03:00
docker-compose-prod.yml Refactor docker 2023-08-11 16:04:26 +03:00
LICENSE Add license / readme prototypes 2023-07-15 17:55:28 +03:00
README.md Improve UI, start refactoring colors 2023-08-27 00:19:19 +03:00
TODO.txt Update TODO.txt 2023-08-27 15:46:15 +03:00
updateProd.sh UI fixes and Footer rework 2023-08-24 11:10:04 +03:00

ConceptPortal

React + Django based web portal for editing RSForm schemas. This readme file is used mostly to document project dependencies

Developer Setup Notes

  • Install Python 3.9, NodeJS, VSCode, Docker Desktop
  • copy import wheels from ConceptCore to rsconcept\backend\import
  • run rsconcept\backend\LocalEnvSetup.ps1
  • run 'npm install' in rsconcept\frontend
  • use VSCode configs in root folder to start developement
  • production: create secrets secrets\db_password.txt and django_key.txt
  • production: provide TLS certificate nginx\cert\portal-cert.pem and nginx\cert\portal-key.pem

Contributing notes

  • use Test config in VSCode to run tests before pushing commits / requests
  • !BEFORE PUSHING INTO MAIN! in rsconcept\frontend run in terminal 'npm run build' and fix all errors
  • when making major changes make sure that Docker production is building correctly. run 'docker compose -f docker-compose-prod.yml up'

Frontend stack & Tooling [Vite + React + Typescript]

npm install
  - axios
  - react-router-dom 
  - react-toastify
  - react-loader-spinner
  - js-file-download
  - react-tabs
  - react-intl
  - react-data-table-component
  - react-dropdown-select
  - react-error-boundary
  - reagraph
  - react-tooltip
  - @uiw/react-codemirror
  - @uiw/codemirror-themes
  - @lezer/lr
  
npm install -D
  - tailwindcss postcss autoprefixer
  - eslint-plugin-simple-import-sort
  - jest
  - ts-jest
  - @types/jest
  - @lezer/generator
  
VS Code plugins
  - ESLint
  - Colorize
  

Backend stack & Tooling [Django + PostgreSQL/SQLite]

requirements
  - tzdata
  - django
  - djangorestframework
  - django-cors-headers
  - django-filter
  - gunicorn
  - coreapi
  - psycopg2-binary
  - pymorphy2
  - razdel
  
requirements_dev
  - coverage
  - pylint
  - mypy
  - django-stubs[compatible-mypy]
  - djangorestframework-stubs[compatible-mypy]
  
VS Code plugins
  - Pylance
  - Pylint
  - Django
  

DevOps

  • Docker compose
  • PowerShell