Go to file
jie fda673e52a update readme 2021-10-18 15:14:01 +08:00
WebApp project has been restructured to adapt to windows 2021-10-18 13:59:21 +08:00
dependencies update readme 2021-10-18 15:14:01 +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 update readme 2021-10-18 15:14:01 +08:00
.gitmodules fix typos 2021-10-18 14:02:43 +08:00
LICENSE project has been restructured to adapt to windows 2021-10-18 13:59:21 +08:00
README.md update readme 2021-10-18 15:14:01 +08:00
config-example.json update readme 2021-10-18 15:14:01 +08:00
db.sql initial commit 2021-03-05 15:39:47 +08:00

README.md

bserv

A Boost Based C++ HTTP JSON Server.

Dependencies

  • VS2019
  • CMake
  • PostgreSQL

    The database may not be installed locally. You should be able to connect to it.

  • Other Dependencies

    Refer to readme for setting up other dependencies.

Quick Start

Use VS2019 to open WebApp/WebApp.sln, which is a sample project. config-example.json is a sample config file for WebApp's startup parameters. It should be renamed to config.json before you Run the project.

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