jordansne / wt-addressbook-generator

Web-based address book generator written in C++ & Wt (University project)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Wt Address Book Generator

About

This project was an assignment for an object oriented design course in third year at university. It uses the Wt library for a web server to provide a simple web interface available at the root and two REST APIs at /people & /people/#. Contacts can be generated on the web interface and accessed through the APIs. The server stores contacts in memory until shutdown.

Demo

Web interface

Web Interface

/people/ API

/people/ API

/people/# API

/people/# API

Building

$ git clone https://github.com/jordansne/wt-addressbook-generator
$ cd wt-addressbook-generator
$ g++ src/*.cpp src/entity/*.cpp -o server -std=c++11 -lwthttp -lwt -lboost_system

Running

$ ./server --docroot ./html --http-address localhost --http-port 8080

Requirements

  • Wt version 3.3.8

About

Web-based address book generator written in C++ & Wt (University project)

License:GNU General Public License v2.0


Languages

Language:JavaScript 50.8%Language:CSS 34.6%Language:C++ 14.1%Language:Shell 0.5%