/boutique

Primary LanguageJavaScriptMIT LicenseMIT

Boutique

GitHub package version Codacy Badge Known Vulnerabilities GitHub license js @extensionengine style style @extensionengine style Open Source Love

Under construction 🚧

LMS

📃 Dependencies

  • node (>= 10.17.0)
  • npm (>= 6.11.0)
  • postgres (>= 9.4)

Check engines field in package.json

💻 Installation

Prerequisites

Setup

  • Run npm install in the repo directory
  • Create database in PostgreSQL
  • App is configured via environment variables contained in a file named .env. Use the .env.example file as a template: cp .env.example .env and enter configuration details.
  • Run npm run db:seed, if any error run npm run db:reset and then npm run db:seed.
  • You can create admin/learner user by running npm run user:add
  • For other scripts run npm run

🚀 Launch

Development

  • Server: npm run dev:server
  • Client: npm run dev:client

Production

  • Bundle client by issuing npm run build
  • npm run start