This is a simple web app that tells you if today is a public holiday in Sweden. It uses the Nager.Date API to get the data.
Please, if you are an employer, feel free to look at it. I just want to make it clear that is-even and is-is-even is used as a joke. Looking for something more serious? Go back and look at other stuff I have published.
This project is a part of a course in Flerplattformsapplikationer med webbtekniker at Malmö University. For the full instructions, see GitHub Pages for the course (in Swedish).
I wanted to create a simple web app that tells you if today is a public holiday in Sweden. The project was built with Next.js.
We were required to build a web app that uses an API to get data, and use two packages.
The API used in this project is the Nager.Date API. It provides data about public holidays in different countries.
The two packages used in this project are:
These packages were used to demonstrate how to use npm packages in a project. This choice was clearly made as a joke, as the packages are not very useful. ?
This project has only been tested on macOS. It should work on Windows and Linux as well, but I cannot guarantee that it will work as expected.
To run this project you need to have Node.js installed. You can download it here. The project was built for version 20.5.1 LTS.
First, clone the repository:
git clone https://github.com/arvid-berndtsson/is-today-a-public-holiday-in-sweden.git
Then, navigate to the project folder:
cd is-today-a-public-holiday-in-sweden
Install the dependencies:
npm install
npm run dev
The project will start on port 3000. Open http://localhost:3000 with your browser to see the result.
If the port is already in use, it will automatically switch to the next available port. Please check the terminal for the correct port.
Pull requests are welcome. Please make sure to submit the pull requests to the dev branch. For major changes, please open an issue first to discuss what you would like to change.
This project is licensed under the MIT License - see the LICENSE file for details.