A CMS system for doing digital career fairs
Install and setup a PostgreSQL database.
Install npm dependencies.
$ npm install
Copy .env.example
to .env
# development
$ npm run start
# watch mode
$ npm run start:dev
# production mode
$ npm run start:prod
Change POSTGRES_HOST
to postgres-db
in .env
.
Then start the project with Docker Compose, the default docker-compose.yml
is setup for development and includes a PostgreSQL database.
# run docker-compose
$ docker-compose up
# unit tests
$ npm run test
# e2e tests
$ npm run test:e2e
# test coverage
$ npm run test:cov
Change MAIL_TRANSPORT
in .env
to your SMTP server, optionally with an username and password.
If you want to use MailHog for testing purposes and you're running the default docker-compose.yml
, change MAIL_TRANSPORT
to mailhog:1025
.
fair.teknikfokus.se is MIT licensed.