API-KIOSK is a back-end project made for the University of Gdańsk. It will be used in the information kiosk located outside of the MFI building.
API-KIOSK uses:
- TypeScript
- Express
- MongoDB Atlas database
This app uses Jest for both unit and coverage testing.
CI pipeline runs on every pull request to any branch, while CD runs on every merge to main
branch.
You can check the deployment for development and for production.
In order to run this app, you need to have Docker (and Docker Compose) installed and running on your environment. You can check versions of both by running following commands:
$ docker --version
Docker version 20.10.23, build 7155243
$ docker compose version
Docker Compose version v2.15.1
You also need Yarn to run scripts, add dependencies and install packages:
$ yarn --version
1.22.19
Clone repo:
$ git clone https://github.com/UniversityOfGdanskProjects/API-KIOSK.git
or
$ git clone [email protected]:UniversityOfGdanskProjects/API-KIOSK.git
After cloning:
$ cd API-KIOSK
$ yarn up
By default, the server starts on port 3001.
$ docker build .
$ yarn test:unit
$ yarn test:coverage
In order to contribute to the repository, check out the contribution guide.