0.3.0
4. Run SQL Shell (psql) or launch pgAdmin to create Database (creating database tutorial)
CREATE DATABASE handle-it
git clone https://github.com/aleksanderfret/handle-it.git
cd handle-it
npm run ci
cd packages/server
9. Create .env file in server package directory and add necessary .env
keys that you can find in the .env.example
file
touch .env
Create an account on sendgrid.com and get the Sendgrid API Key to make the app be able to send email messages. Save the key in your .env
file as SENDGRID_API_KEY
.
Generate three paris of keys: private and public (you can do it here). Encode them (you can do it here). Save encoded keys in your .env
file as: ACCESS_PRIVATE_KEY
, ACCESS_PUBLIC_KEY
, REFRESH_PRIVATE_KEY
, REFRESH_PUBLIC_KEY
, TOKEN_PRIVATE_KE
, TOKEN_PUBLIC_KEY
.
npm start
npm run build
"audit": runs npm audit in root and for all packages
"bootstrap": install all packages dependencies and links any cross dependencies
"build": build project for production
"check": runs lint, format and stylelint, test and compile scripts together,
"ci" runs npm ci for all packages directories
"ci:all": installs all project dependencies and runs bootstrap and hooks scripts
"clean": removes node_modules from al packages
"compile": runs TypeScript for all packages
"create": creates a new lerna-managed package
"format": formats all the files using Prettier,
"format:fix": formats and fix all the files using Prettier,
"lint": lint all the files using eslint,
"lint:fix": lint and fix all files using eslint,
"outdated": runs npm outdated for root and for all packages,
"postinstall": runs bootstrap and hooks scripts,
"prepare": install git hooks,
"prepare-commit-msg": runs prepare-commit-msg hook,
"pre-commit": runs pre-commit hook,
"pre-push": runs pre-push hook,
"reset": runs clean script and runs npm ci,
"start": runs project for development,
"stylelint": lint all style files,
"stylelint:fix": lint and fix all style files,
"test": run tests or all packages