I was asked to write a phone book service in C for Linux.
The specs of the project were:
- write the server to handle the request of the client
- write the client to send the requests
- the users may
- only read the entries from the phone book
- or read and add new entries (admin users)
I added some other features like:
- admin users may also update or cancel an entry
- the registration of the users
- hashing the password (although i used MD5)
- used ncurses for the UI
I used MESON
as building system. The file meson.build
is included in the repository.
Here is a link to their website or if you want you can compile
the executables with gcc ...
command. You can find the libraries to link for the server and the client in the meson.build
file.