Programowanie funkcyjne 2024/SL
Go to file
2024-05-25 20:39:42 +02:00
app First commit 2024-05-25 20:14:01 +02:00
src First commit 2024-05-25 20:14:01 +02:00
test First commit 2024-05-25 20:14:01 +02:00
.gitignore First commit 2024-05-25 20:14:01 +02:00
CHANGELOG.md First commit 2024-05-25 20:14:01 +02:00
LICENSE LICENSE Edit 2024-05-25 20:39:42 +02:00
package.yaml First commit 2024-05-25 20:14:01 +02:00
README.md Edit readme 2024-05-25 20:27:29 +02:00
Setup.hs First commit 2024-05-25 20:14:01 +02:00
stack.yaml First commit 2024-05-25 20:14:01 +02:00
stack.yaml.lock First commit 2024-05-25 20:14:01 +02:00
user-management.cabal First commit 2024-05-25 20:14:01 +02:00
users.db First commit 2024-05-25 20:14:01 +02:00

User Management System

This project provides a system for managing users, including adding, listing, finding, and deleting users.

Prerequisites

Before running the project, make sure you have the following installed:

Getting Started

  1. Clone the repository: git clone https://git.wmi.amu.edu.pl/s475286/user-management.git

  2. Navigate to the project directory: cd user-management

  3. Build the project: stack build

  4. Run the application: stack exec user-management-exe

Usage

The application provides the following commands:

  • add-user <name> <email> <password>: adds a new user to the database
  • list-users: lists all users in the database
  • find-user <name or email>: finds users with a matching name or email
  • delete-user <name>: deletes a user from the database

Contributing

Contributions are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request.

License

This project is licensed under the MIT License.