Made as a system for a school library to keep track of books and allow students to borrow them, logging in with their Microsoft Teams account. It has an i18n system to support multiple languages, using English by default.
Made with Next.js, Prisma, shadcn/ui, Tailwind CSS and Azure AD.
- Clone the repository
- Run
npm installoryarn installto install the dependencies - Copy the
.env.examplefile to.envand fill in the required values - Copy the
config.example.yamlfile toconfig.yamland update the configuration as needed - Build the project with
npm run buildoryarn build - Start the server with
npm startoryarn start
If you want to develop the project, you can run npm run dev or yarn dev to start the server in development mode. This will automatically restart the server when you make changes to the code.
The configuration of environment secrets is done through the .env file. If you want to change the configuration of the library system, you can do so in the config.yaml file.
If you want to add new languages or change the existing ones, you can do so by editing the locals folder. Each language has its own subfolder, with the language code as the name. The keys are the same for all languages, so you can copy the module file from en subfolder and translate the values.
This project is licensed under the MIT License. You can read the full license in the LICENSE file.
If you want to contribute to the project, you can fork the repository and make a pull request. Make sure to follow the code style and write an adequate description of the changes you made.