Commit graph

12 commits

Author SHA1 Message Date
Akshay
5b30aa2007
Chore: Setup pipeline (#1539)
* github actions for PR and push to develop branch

* test workflow

* move to workflows folder

* add setup node action

* modify build

* specify npm version

* config unit test

* specify host postgres

* specify container to run on

* add postgresql dependency

* add specify ws adapter for test

* add e2e test

* fix linting

* only log errors on tests

* update eslint config

* fix linting

* run e2e test in silent mode

* fix library app spec

* dont send email on test env

* fix org scope

* mock env vars

* remove reset modules

* force colors

* explicitly close db connection

* add eslint rule for floating promises

* update workflow

* fix floating promise

* fix lint

* update workflow

* run on all push and pulls

* update lint check files

* simplify workflow

* increase js heap size on env

* separate lint and build

Co-authored-by: arpitnath <arpitnath42@gmail.com>
2021-12-10 08:43:05 +05:30
Arpit
26c9cc655c
Fix linting errors across the app (#785)
* eslint-setup: rules for frontend and server

* setup pre-commit:hook

* frontend:eslint fixes

* frontend eslint errors and warning fixed

* eslint:fix for ./server

* fix server/test: expectatin string lint/error

* pre-commit:updated

* removed unwanted install cmd from docker file

* recommended settings and extension for vscode

* husky prepare script added

* updated extension recommendations

* added prettier as recommended extension

* added pre-commit to package.json

* remove .prettierrc file

* resolve changes

* resolve changes
2021-09-21 19:18:28 +05:30
Akshay
3ce36bd728
show readable error info for db create/drop instead of error stack trace (#517) 2021-08-13 20:55:43 +05:30
Akshay Sasidharan
2779ea24e8 setup database seed 2021-08-03 09:41:39 +05:30
Akshay
07f0cfab84
Run migrations on heroku deployments (#431) 2021-08-02 13:51:48 +05:30
Akshay Sasidharan
bee3a0f224 validate and pick db config from env if .env is not found 2021-07-30 20:57:57 +05:30
navaneeth
aa4a92075b Fix for incorrect config of test env 2021-07-23 22:35:36 +05:30
navaneeth
b302029bba Dockerize nest server 2021-07-23 19:46:01 +05:30
Akshay Sasidharan
4c868259d0 setup connection options using ormconfig.ts 2021-07-21 18:49:32 +05:30
Akshay Sasidharan
61a9eb6b1b reuse env files from root directory instead 2021-07-21 18:49:32 +05:30
Akshay Sasidharan
53fdb3b0d6 add ability for db create, migrate, drop and reset 2021-07-21 18:49:32 +05:30
Akshay Sasidharan
c0ef4a738a make configService to load values based on app env 2021-07-21 18:49:32 +05:30