This project is an attempt to replicate the limited functionality of the application "Linkedin". Implemented design for mobile devices.
This project implements such functions as jwt authorization, roles, registration of new users, adding friends, adding posts, sending messages to friends in private chats.
$ npm install
or
$ yarn install
# development mode
1. Create inside server dir file .env
2. Copy content from .env.dist to .env
3. correct inside the .env file the data to the required
# generate migrations
$ npm run migration:generate -- db/migrations/migration_name
# run migrations
$ npm run migration:run
# development mode
$ npm run start:dev
or
$ yarn start:dev
# unit tests
$ npm run test
$ yarn test
# e2e tests
$ npm run test:e2e
$ yarn test:e2e
# test coverage
$ npm run test:cov
$ yarn test:cov
# development mode
$ ionic serve
# unit tests
$ ng test
or
$ ng test auth.page.spec.ts
# e2e tests
$ npm run cypress:open
$ npm run cypress:run
$ yarn test:cypress:open
$ yarn test:cypress:run
# test coverage
$ ng test --no-watch --code-coverage