Restweb

Sample code of cpprestsdk (casablanca), it's a sample example for beginner to get started with cpprestsdk with database(currently PostgreSQL) integration with basic structure, programmer can extend it.
Alternatives To Restweb
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Postgraphile11,95576997 days ago156May 25, 202267mitTypeScript
Execute one command (or mount one Node.js middleware) and get an instant high-performance GraphQL API for your PostgreSQL database!
Risingwave4,423
8 hours ago753apache-2.0Rust
🚀SQL stream processing with Postgres-like experience. 🪄More than a modern alternative to Apache Flink.
Pgadmin41,424
a day ago453otherPython
pgAdmin is the most popular and feature rich Open Source administration and development platform for PostgreSQL, the most advanced Open Source database in the world.
Aiopg1,283
7 months ago1March 24, 202067bsd-2-clausePython
aiopg is a library for accessing a PostgreSQL database from the asyncio
Fullstack Apollo Express Postgresql Boilerplate976
3 years ago38mitJavaScript
💥 A sophisticated GraphQL with Apollo, Express and PostgreSQL boilerplate project.
Binexport873
9 hours ago21apache-2.0C++
Export disassemblies into Protocol Buffers
Flask Gentelella527
2 years agomitHTML
Gentelella template powered by Flask
Pg_view429
13 years ago4March 13, 201726otherPython
Get a detailed, real-time view of your PostgreSQL database and system metrics
Datanymizer407
9 days ago21mitRust
Powerful database anonymizer with flexible rules. Written in Rust.
Sqlserver2pgsql404
10 months ago1gpl-3.0Perl
Migration tool to convert a Microsoft SQL Server Database into a PostgreSQL database, as automatically as possible
Alternatives To Restweb
Select To Compare


Alternative Project Comparisons
Readme

Restweb

Sample code of cpprestsdk (casablanca)

This repo contains a sample of cpprestsdk server side in very simple format. sample handles 4 method of http request [put, get,post and delete]. almost every function/class name is a self documentation of it's functionality.

project structure

[main.cpp] [include/handler.h] [src/hander.cpp]

How to compile :

cmake .

make

run server ./Build/bin/restserver

[ For mac, mac branch is recommanded. ]

[

For Windows (Visual studio solution) (checkout vs15_v140 branch )

] ##############################################

{#dbms folder is a independent project right now to access database before enable to install some prerequsites} 1) install postgresql; install pqxx (sudo apt-get install libpqxx-dev) and libpq if it is not installed with postgresql ((sudo apt-get install libpq-dev)

dbms support can be added ( right now Postgresql only) by doing following steps

  1. uncomment line 5 of handler.h

//#include "../dbms/include/Dbms.h"

  1. for testing uncomment line 43 and 44 of handler.cpp

//Dbms* d = new Dbms(); //d->connect();

How to complie :

cmake . -DDBMS=ON make

run server ./Build/bin/restserver

now all done . just implement/replace own logic.

NEXT REVISION (In Implementation)

1) A Fast and lightweight websocket service with all rest feature, NoSql and Sql plugins with improved performance.

2) less dependecies

Popular Postgresql Database Projects
Popular Database Projects
Popular Data Storage Categories
Related Searches

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
C Plus Plus
Cpp
Database
Restful
Rest Api
Restful Api
Cmake
Dbms
Postgresql Database