Skip to content

Content Management System for Latt platform

License

Notifications You must be signed in to change notification settings

latt-dev/latt-cms

Repository files navigation

Latt CMS

code style: prettier

Content Management System for Latt App driving creating/updating predefined paths, courses, lessons and quizzes

Important prerequisite note

Many packages are obsolete now (2023) and require older (14) Node version to be installed, .nvmrc states that explicitly (if you use NVM).

Quick Start

  1. npm install
  2. npm start1

1 You will need to add .env file with necessary environment variables to the root folder when working with the app locally

Project Structure

  • e2e - End-To-End tests folder
  • scripts - environment scripts
  • src - application source code
    • _redirects - file with configs required for correct routing at Netlify server
  • dist - git-ignored production build folder
  • .env - mandatory git-ignored file with environment variables (request repository owner)
  • .prettierrc - code formatting configuration

Custom Schematics

  • Component schematics are set to generate a single-file component (with inline styles and template) with ChangeDetectionStrategy.OnPush by default. flat modifier is set to true to enforce using SCAM pattern (single component Angular modules)

Specific Tools

Obfuscated Environment Variables

You need to create a .env file with the main environment variables required to run this project before starting to work with it:

LATT_DEV_API_URL=LocalBackEndAPIServerUrl
LATT_PROD_API_URL=ProductionBackEndAPIServerUrl

See .env.example file for local dev parameters example.

Contributing

Thank you for your interest in contributing to Latt. Though there's no active open development process currently, there are some ways to contribute to this project if you really fancy to. Get started here.