All Projects → nodes-vapor → template

nodes-vapor / template

Licence: MIT License
A Vapor template for convenient and fast scaffolding 🏎

Programming Languages

swift
15916 projects
Dockerfile
14818 projects
shell
77523 projects

Projects that are alternatives of or similar to template

bugsnag
Report errors with Bugsnag 🐛
Stars: ✭ 37 (+12.12%)
Mutual labels:  vapor, server-side-swift, vapor-2, stso
sourcery-templates
Building Vapor projects using meta programming with Sourcery ✨
Stars: ✭ 24 (-27.27%)
Mutual labels:  vapor, server-side-swift, vapor-2, stso
paginator
Offset pagination for Vapor 🗂
Stars: ✭ 67 (+103.03%)
Mutual labels:  vapor, server-side-swift, vapor-2
flash
Flash messages between views ⚡️
Stars: ✭ 34 (+3.03%)
Mutual labels:  vapor, server-side-swift, vapor-2
readme
Welcome to Vapor development at Nodes 📖
Stars: ✭ 47 (+42.42%)
Mutual labels:  vapor, server-side-swift, stso
async
⏱ Promises and reactive-streams in Swift built for high-performance and scalability.
Stars: ✭ 35 (+6.06%)
Mutual labels:  vapor, server-side-swift
OrderSystem
An independent micro-service that takes orders in and processes payments.
Stars: ✭ 16 (-51.52%)
Mutual labels:  vapor, vapor-swift
GraphQLRouteCollection
A GraphQL based RouteCollection for Vapor
Stars: ✭ 18 (-45.45%)
Mutual labels:  vapor, server-side-swift
HomeKitty
A Vapor 3 website to easily browse HomeKit accessories.
Stars: ✭ 75 (+127.27%)
Mutual labels:  vapor, server-side-swift
VaporElasticsearch
A Vapor/Swift Elasticsearch client
Stars: ✭ 26 (-21.21%)
Mutual labels:  vapor, vapor-swift
auth
👤 Authentication and Authorization framework for Fluent.
Stars: ✭ 51 (+54.55%)
Mutual labels:  vapor, server-side-swift
gatekeeper
Rate limiting middleware for Vapor 👮
Stars: ✭ 54 (+63.64%)
Mutual labels:  vapor, server-side-swift
fluent-postgres-driver
🐘 PostgreSQL driver for Fluent.
Stars: ✭ 120 (+263.64%)
Mutual labels:  vapor, server-side-swift
JSONAPISerializer
JSONAPISerializer for Server Side Swift
Stars: ✭ 21 (-36.36%)
Mutual labels:  vapor, vapor-swift
fluent-mysql-driver
🖋🐬 Swift ORM (queries, models, relations, etc) built on MySQL.
Stars: ✭ 69 (+109.09%)
Mutual labels:  vapor, server-side-swift
SwiftString
A comprehensive, lightweight string extension for Swift 3.x & 4.0
Stars: ✭ 117 (+254.55%)
Mutual labels:  vapor, server-side-swift
sqlite-kit
Non-blocking SQLite client library with SQL builder built on SwiftNIO
Stars: ✭ 51 (+54.55%)
Mutual labels:  vapor, server-side-swift
VaporCRUDRouter
A Rails-inspired extension to Vapor's routing system
Stars: ✭ 58 (+75.76%)
Mutual labels:  vapor, vapor-swift
routing-kit
🚍 High-performance trie-node router.
Stars: ✭ 95 (+187.88%)
Mutual labels:  vapor, server-side-swift
Stevenson
Stevenson is a Vapor framework designed to build integrations between Slack apps, GitHub, JIRA and CI services (CircleCI).
Stars: ✭ 57 (+72.73%)
Mutual labels:  vapor, server-side-swift

Nodes Vapor Template

Swift Version Vapor Version codebeat badge Readme Score GitHub license

A Vapor template for convenient and fast scaffolding 🏎

📦 Installation

Creating a project

You can create a new project using the Vapor toolbox.

vapor new MyApp --template https://www.github.com/nodes-vapor/template

Getting started 🚀

Project name

Before building your project you need to change the name of the project in Package.swift. Look for name: "NodesTemplate" and adjust it to fit your project.

Environment variables

Before running your project, you need to make sure you have the environment variables set up. Use the included .env.example file. Copy the file to .env, enable your required environment variables and add their values.

Make sure to use unique and strong secrets for the signer keys (ie. the keys ending in _SIGNER_KEY). The keys should be unique within and across environments and projects. To generate the keys you can issue the following terminal command: openssl rand -hex 64.

PostgreSQL

For PostgreSQL you can either use a connection string (using the POSTGRESQL_URL key) or you can supply hostname, username, password and database individually.

Redis

Similar to PostgreSQL, you can either use a connection string (using the REDIS_URL key) or you can supply hostname and database individually.

Mailgun

In order to send out emails using Mailgun, the Mailgun environment variables need to be set.

JWT Keychain

For generating tokens, a couple of signers need to be set for JWT Keychain. These can be generated by using openssl rand -base64 32. Remember to generate different values for each environment.

Reset

For handling reset of passwords, Reset also needs a couple of signers to be set (similar to JWT Keychain).

Nodes SSO

To enable Nodes SSO on Admin Panel the project needs to be created on Ournodes (private link) and the environment variables needs to be set up in the project. Be aware when using SSO locally to specify the PROJECT_URL environment variable with http

Bugsnag

To support error reporting to Bugsnag, a project needs to be created on our organization and the API key needs to be added to the project.

🏆 Credits

This package is developed and maintained by the Vapor team at Nodes.

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].