Code Monkey home page Code Monkey logo

swift-vapor-conduit-example-app's Introduction

RealWorld Example App

Swift (Vapor) codebase containing real world examples (CRUD, auth, advanced patterns, etc) that adheres to the RealWorld spec and API.

This codebase was created to demonstrate a fully fledged fullstack application built with Swift Server Side (Vapor) including CRUD operations, authentication, routing, pagination, and more.

We've gone to great lengths to adhere to the Swift community styleguides & best practices.

For more information on how to this works with other frontends/backends, head over to the RealWorld repo.

Getting started

Prepare the environment

If you are running in a linux machine, do:

$ eval "$(curl -sL https://apt.vapor.sh)"

Else, if you are using mac machine, do:

$ brew install vapor/tap/vapor

If you do not have brew, then install it. You can find more detail instructions on here

You can update the dependencies and generate a Xcode Project by typing.

$ vapor update

It will ask you whether you want to remake a Xcode Project and whether you want to open it.

Build and run

You could build and run from Xcode. Or, you could use:

$ vapor build
$ vapor run

How to run migration?

You can run the migration by typing

$ vapor run prepare

Atention: Vapor is using Postgres 10 syntax, then you will need a postgre 10 running to get it working on migration 😄

Have a look at this to understand a little better

swift-vapor-conduit-example-app's People

Contributors

alonski avatar amadeu01 avatar ericsimons avatar esakkiraj avatar martinlasek avatar optikfluffel avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

athletecf

swift-vapor-conduit-example-app's Issues

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.