- Assignment was done on Ubuntu 22.04, but because of Docker it should be working on every OS. Docker engine version should be at least 19.0.5 (idealy 24.0.7 - latest version)
By running tests, all of the listed assignments are tested
- Create new course
- Create new student
- Enrolling new student to an existing course as enrollment service administrator
- Enrolling new student to an existing course as other user
- Counting how many students are enrolled in specific course
- Listing all courses specific student is enrolled in
Install Docker by following commands in step 1
Install docker-compose by following commands in step 1
- Clone git repository with assignment code by running
https://github.com/mateoKutnjak/chromaway-interview-assignment.git
- Position yourself inside the root of the project with command
cd chromaway-interview-assignment
- In one terminal run
UID="$(id -u)" GID="$(id -g)" docker compose run chromia chr node start
- In second terminal run
UID="$(id -u)" GID="$(id -g)" docker compose run chromia chr test