An open API service indexing awesome lists of open source software.

https://github.com/spudmashmedia/cppuserapi

A C++ MVC API Template utilising Crow Lib.
https://github.com/spudmashmedia/cppuserapi

boost cpp crow

Last synced: 2 days ago
JSON representation

A C++ MVC API Template utilising Crow Lib.

Awesome Lists containing this project

README

          

# cppuserapi - Template
[![My Skills](https://skillicons.dev/icons?i=cpp)](https://skillicons.dev)

A C++ MVC API Template utilising Crow Lib.

## Summary
This is a C++ MVC API Template which utilises [Crow](https://crowcpp.org/master/). It contains a working example that integrates with the [randomuser.me](https://randomuser.me/documentation) endpoint.

This repo demonstrates:
- Crow REST API usage
- MVC project layout
- Generating a Strongly Typed proxy library for randomuser.me
- Contains a Http Client that integrates with Boost Lib

# Quick Start - Generating A New Project From This Template
Assuming we called our new API "myservice" we use [npx degit](https://www.npmjs.com/package/degit) to create a fresh project by cloning this template:
```
mkdir myservice
cd myservice
npx degit spudmashmedia/cppuserapi#master
```

# Getting Started
- [Prequisite Before Starting](/docs/prerequisite.md)
- [Build Instructions](/docs/build.md)
- [Testing Instructions](/docs/testing.md)

# Documentation

- [The Purpose of this Repository](/docs/purpose.md)
- [References](/docs/references.md)

# License
This code is distributed under the terms and conditions of the [MIT License](/LICENSE)