Go to file
jie 0d0f2767b9 add ubuntu support 2021-10-21 10:13:09 +08:00
WebApp add ubuntu support 2021-10-21 10:13:09 +08:00
dependencies add ubuntu support 2021-10-21 10:13:09 +08:00
templates project has been restructured to adapt to windows 2021-10-18 13:59:21 +08:00
test/scripts project has been restructured to adapt to windows 2021-10-18 13:59:21 +08:00
.gitignore add ubuntu support 2021-10-21 10:13:09 +08:00
.gitmodules fix typos 2021-10-18 14:02:43 +08:00
BUILD-Windows.md add ubuntu support 2021-10-21 10:13:09 +08:00
BUILD-ubuntu.md add ubuntu support 2021-10-21 10:13:09 +08:00
CMakeLists.txt add ubuntu support 2021-10-21 10:13:09 +08:00
LICENSE project has been restructured to adapt to windows 2021-10-18 13:59:21 +08:00
README.md add ubuntu support 2021-10-21 10:13:09 +08:00
config-Windows.json add ubuntu support 2021-10-21 10:13:09 +08:00
config-ubuntu.json add ubuntu support 2021-10-21 10:13:09 +08:00
db.sql initial commit 2021-03-05 15:39:47 +08:00

README.md

bserv

A Boost Based C++ HTTP JSON Server.

Quick Start

To build the dependencies & the project, refer to BUILD-Windows.md or BUILD-ubuntu.md

  • WebApp/bserv contains the source code for bserv.
  • WebApp/WebApp is a sample project.
  • config-Windows.json and config-ubuntu.json are two sample config file for WebApp's startup parameters. It should be configured and renamed to config.json before you start WebApp.
  • To use WebApp, you should setup the database as well.

Database

You can import the sample database:

  • Create the database in psql:

    create database bserv;
    
  • Create the table in the shell using a sample script:

    psql bserv < db.sql