All Projects → PerfectExamples → Perfect-JSON-API

PerfectExamples / Perfect-JSON-API

Licence: other
An Example JSON API for Perfect

Programming Languages

swift
15916 projects

Projects that are alternatives of or similar to Perfect-JSON-API

Perfect-URL-Shortener
An Example URL Shortener System for Perfect
Stars: ✭ 37 (-13.95%)
Mutual labels:  perfect, server-side-swift
Perfect-SMTP
SMTP Client for Perfect.
Stars: ✭ 19 (-55.81%)
Mutual labels:  perfect, server-side-swift
Perfect-WebSocketsServer
Perfect Example Module: WebSockets Server
Stars: ✭ 34 (-20.93%)
Mutual labels:  perfect, server-side-swift
Perfect
Server-side Swift. The Perfect core toolset and framework for Swift Developers. (For mobile back-end development, website and API development, and more…)
Stars: ✭ 13,890 (+32202.33%)
Mutual labels:  perfect, server-side-swift
Perfect-HTTPServer
HTTP server for Perfect.
Stars: ✭ 104 (+141.86%)
Mutual labels:  perfect, server-side-swift
Perfect-HTTP
Base HTTP Support for Perfect.
Stars: ✭ 29 (-32.56%)
Mutual labels:  perfect, server-side-swift
Perfect-Weather
Demonstrate using URL Routes & variables, Fetching of remote data from API's as JSON, reading and transforming to data more appropriately consumable by an API client.
Stars: ✭ 32 (-25.58%)
Mutual labels:  perfect, server-side-swift
Perfect-XML
XML support for Perfect.
Stars: ✭ 16 (-62.79%)
Mutual labels:  perfect, server-side-swift
Perfect-Thread
Core threading library for Perfect Server Side Swift. Includes support for serial and concurrent thread queues, locks, read/write locks and events.
Stars: ✭ 17 (-60.47%)
Mutual labels:  perfect, server-side-swift
Perfect-URLRouting
Perfect Example Module: URL Routing
Stars: ✭ 20 (-53.49%)
Mutual labels:  perfect, server-side-swift
SwiftString
A comprehensive, lightweight string extension for Swift 3.x & 4.0
Stars: ✭ 117 (+172.09%)
Mutual labels:  perfect, server-side-swift
Perfect-Zip
Perfect Zip compression utility.
Stars: ✭ 20 (-53.49%)
Mutual labels:  perfect, server-side-swift
Perfect-Authentication
OAuth2 Implementations with Facebook, Google, LinkedIn, Slack, SalesForce and GitHub providers.
Stars: ✭ 14 (-67.44%)
Mutual labels:  perfect, server-side-swift
soto-cognito-authentication-kit
Authenticating with AWS Cognito
Stars: ✭ 20 (-53.49%)
Mutual labels:  server-side-swift
awesome-vapor
A curated list of Vapor-related awesome projects.
Stars: ✭ 907 (+2009.3%)
Mutual labels:  server-side-swift
redbull
Develop JSON endpoints fast!
Stars: ✭ 11 (-74.42%)
Mutual labels:  json-api
ck-web
Collective Knowledge web extension to browse CK repositories, visualize interactive graphs and articles, render CK-based websites, implement simple web services with JSON API (for example to crowdsource experiments or unify access to DNN). Demos of interactive articles, graphs and crowdsourced experiments:
Stars: ✭ 31 (-27.91%)
Mutual labels:  json-api
azure-functions-swift
Azure Functions in Swift! Purely in Swift!
Stars: ✭ 86 (+100%)
Mutual labels:  server-side-swift
live-rates.com
Forex Real-time Streaming, Web-service & Rest API
Stars: ✭ 30 (-30.23%)
Mutual labels:  json-api
jsonapi
Set of tools to build a JSON:API compliant service.
Stars: ✭ 19 (-55.81%)
Mutual labels:  json-api

Perfect JSON API Example 简体中文

Get Involed with Perfect!

Star Perfect On Github Stack Overflow Follow Perfect on Twitter Join the Perfect Slack

Swift 3.0 Platforms OS X | Linux License Apache PerfectlySoft Twitter Slack Status

An Example JSON API for Perfect

This package builds with Swift Package Manager and is part of the Perfect project.

Ensure you have installed Xcode 8.0 or later.

Setup - Xcode 8

  • Check out or download the project;
  • In terminal, navigate to the directory and execute
swift package generate-xcodeproj
  • Open Perfect-JSON-API.xcodeproj
  • Add to the "Library Search Paths" in "Project Settings" $(PROJECT_DIR), recursive. (This step will be unneeded in a future release of Xcode 8.)
  • Select the Executable build target from the build targets dropdown in Xcode
  • Run (cmd-R) to build & run in Xcode.

In Xcode's console output pane you will see:

[INFO] Starting HTTP server on 0.0.0.0:8181 with document root ./webroot

Setup - Terminal

  • Check out or download the project;
  • In terminal, navigate to the directory
  • Execute swift build
  • Once the project has compiled, execute ./.build/debug/Perfect-JSON-API

The output you will see:

[INFO] Starting HTTP server on 0.0.0.0:8181 with document root ./webroot

Included Routes

The following routes are included in this API for demonstration purposes:

{
    "email": "[email protected]",
    "firstName": "Test",
    "lastName": "User"
}

Postman Collection

The repo includes a file Example-PeopleAPI.postman_collection which is a Postman URL collection.

With Postman installed, import and use to easily query the routes.

Issues

We are transitioning to using JIRA for all bugs and support related issues, therefore the GitHub issues has been disabled.

If you find a mistake, bug, or any other helpful suggestion you'd like to make on the docs please head over to http://jira.perfect.org:8080/servicedesk/customer/portal/1 and raise it.

A comprehensive list of open issues can be found at http://jira.perfect.org:8080/projects/ISS/issues

Further Information

For more information on the Perfect project, please visit perfect.org.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].