Giter Club home page Giter Club logo

render-vapor's Introduction

Vapor

Vapor is an HTTP web framework for Swift. It provides a beautifully expressive and easy-to-use foundation for your next website, API, or cloud project.

This repository is a fork from the Vapor project. It adds one file: a Dockerfile so that it can be built and deployed on Render.

Create a new Web Service from the Render Dashboard. When prompted for a GitHub repository, paste in the URL of this one. When the build and deploy is complete, click the *.onrender.com subdomain at the top to test out your new web service. See below for a list of the HTTP routes this example service provides.

NOTE: If you are using this for a production service, please first make a copy of this repository by clicking Use this template.

Routes

root@504b95207906:/# ./Development routes
+------+------------------------+------------------------+
| GET  | /ping                  |                        |
+------+------------------------+------------------------+
| POST | /slow-stream           |                        |
+------+------------------------+------------------------+
| GET  | /test/head             |                        |
+------+------------------------+------------------------+
| POST | /test/head             |                        |
+------+------------------------+------------------------+
| POST | /login                 |                        |
+------+------------------------+------------------------+
| POST | /large-file            |                        |
+------+------------------------+------------------------+
| GET  | /json                  | returns some test json |
+------+------------------------+------------------------+
| GET  | /ws                    |                        |
+------+------------------------+------------------------+
| POST | /file                  |                        |
+------+------------------------+------------------------+
| GET  | /shutdown              |                        |
+------+------------------------+------------------------+
| GET  | /cache/get/:key        |                        |
+------+------------------------+------------------------+
| GET  | /cache/set/:key/:value |                        |
+------+------------------------+------------------------+
| GET  | /hello/:name           |                        |
+------+------------------------+------------------------+
| GET  | /search                |                        |
+------+------------------------+------------------------+
| GET  | /sessions/set/:value   |                        |
+------+------------------------+------------------------+
| GET  | /sessions/get          |                        |
+------+------------------------+------------------------+
| GET  | /sessions/del          |                        |
+------+------------------------+------------------------+
| GET  | /client                |                        |
+------+------------------------+------------------------+
| GET  | /client-json           |                        |
+------+------------------------+------------------------+
| GET  | /users                 |                        |
+------+------------------------+------------------------+
| GET  | /users/:userID         |                        |
+------+------------------------+------------------------+
| GET  | /view                  |                        |
+------+------------------------+------------------------+
| GET  | /error                 |                        |
+------+------------------------+------------------------+
| GET  | /secret                |                        |
+------+------------------------+------------------------+
| POST | /max-256               |                        |
+------+------------------------+------------------------+
| POST | /upload                |                        |
+------+------------------------+------------------------+
| GET  | /async/client          |                        |
+------+------------------------+------------------------+
| GET  | /async/client2         |                        |
+------+------------------------+------------------------+
| GET  | /async/content         |                        |
+------+------------------------+------------------------+
| GET  | /async/content2        |                        |
+------+------------------------+------------------------+
| GET  | /async/contentArray    |                        |
+------+------------------------+------------------------+
| GET  | /async/opaque          |                        |
+------+------------------------+------------------------+
| GET  | /async/middleware      |                        |
+------+------------------------+------------------------+
| GET  | /async/auth            |                        |
+------+------------------------+------------------------+
[ DEBUG ] Application shutting down (Vapor/Application.swift:135)

render-vapor's People

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.