Vapor Website for oneleif

Overview

OneLeif Logo

Project Info

This project is a central repository for the oneleif website project. The website will feature articles, social information and serves as a central place to share information and be recruited.

This repository specifically holds the backend for serving up API requests and pre-rendered HTML views.

To get started working with this project, please take a moment to review the wiki.

To review the React front end which is built for the oneleif website, please checkout this repository.

To review the oneleif iOS app, please see the following repository.

To check out the Android version of the app, take a look at the following repository.

This project is an oneleif active project, meaning it is open sourced, ran and, maintained by the members of oneleif, with support of other members.

Docs

Socials & Contacts

Want to join the oneleif community?

Join the Discord server by clicking the link above. You will start with limited permissions, in a text channel that only moderators will see. In order to get full access, review the rules in #onboarding, make an introduction within the #introductions channel, and add an appropriate username.

Once that is complete, we will give you full access where you can choose your interests and gain access to more specific channels.

oneleif website is running on Vapor!

Documentation Team Chat MIT License Swift 5.6

Comments
  • [Support] Branch Linting

    [Support] Branch Linting

    Adds a workflow for branch linting; Preventing users from pushing, or creating a pull-request that do not follow the branch naming conventions.

    Proposed conventions:

    • master
    • develop
    • release/[v][release][.major][.minor]
    • feature/[name_with_underscores_or_dashes]
    • bugfix/[name_with_underscores_or_dashes]
    • support/[name_with_underscores_or_dashes]

    Note: The branches that dependabot creates are also validated, these are specific to dependabot and should not be used by people in general.

    enhancement CI/CD 
    opened by Azoraqua 0
  • HTTPS / Security on Cookies

    HTTPS / Security on Cookies

    Describe the requested feature Postman is showing the HTTPS & Secure field to be "false". Acceptance Criteria Consider looking into how Vapor handles securing these methods to ensure user account security.

    bug enhancement 
    opened by haIIux 0
  • Properly name Postgres username / password

    Properly name Postgres username / password

    Describe the requested feature Change the Postgres login information to be more specific to the project at hand. For example :

    username : oneleif_dev
    password : oneleif_password
    

    Acceptance Criteria Deciding on a project wide set of credentials.

    enhancement good first issue 
    opened by haIIux 0
  • Basic Authentication Implementation

    Basic Authentication Implementation

    Introduces authentication using basic methods (email & password).

    With this PR users can do the following...

    • [x] Sign up w/ a email and password which gets hashed through Bcrypt and saved in the Users table.
    • [x] Login using that email and password which will return their user account from the Users table.
    enhancement 
    opened by haIIux 0
  • Fix deployment

    Fix deployment

    2022-08-17T19:53:16.248271+00:00 app[api]: Deploy 510870e7 by user [email protected] 2022-08-17T19:53:16.248271+00:00 app[api]: Release v8 created by user [email protected] 2022-08-17T19:55:11.263109+00:00 heroku[router]: at=error code=H14 desc="No web processes running" method=GET path="/users" host=oneleif-website.herokuapp.com request_id=d396973f-e978-45cc-96fe-5017efa03bbe fwd="75.70.224.227" dyno= connect= service= status=503 bytes= protocol=https 2022-08-17T19:55:11.551925+00:00 heroku[router]: at=error code=H14 desc="No web processes running" method=GET path="/favicon.ico" host=oneleif-website.herokuapp.com request_id=9cac094b-1882-4fc0-b918-5591a19bdb26 fwd="75.70.224.227" dyno= connect= service= status=503 bytes= protocol=https 2022-08-17T19:55:13.862075+00:00 heroku[router]: at=error code=H14 desc="No web processes running" method=GET path="/" host=oneleif-website.herokuapp.com request_id=b7d70c4b-5bfb-411c-8f6e-8af643b3ee14 fwd="75.70.224.227" dyno= connect= service= status=503 bytes= protocol=https 2022-08-17T19:55:14.104046+00:00 heroku[router]: at=error code=H14 desc="No web processes running" method=GET path="/favicon.ico" host=oneleif-website.herokuapp.com request_id=5b4e2696-b3c3-4973-9377-3b649f85dedd fwd="75.70.224.227" dyno= connect= service= status=503 bytes= protocol=https 2022-08-17T19:56:07.000000+00:00 app[api]: Build succeeded

    opened by 0xLeif 0
  • Setup Mailgun for Newsletters

    Setup Mailgun for Newsletters

    Describe the requested feature With the hope that we will introduce blogs created by users, I think that it would be beneficial to introduce some sort of newsletter which can be opted-into during account registration. This newsletter will curate the latest weekly / bi-weekly articles / content posted by the community and send an email accordingly.

    Thankfully, the Vapor community has created this package in which I am told works without issue and currently runs on the same Vapor version (Vapor 4) that we use. While there should be some caution taken, as the last commit was 2 years ago and there is currently 3 open PR's. I have been told by some community members, that it works without issue.

    The reasoning on the use of Mailgun is, it is free up to 1000 emails per month to start thus, keeping organizational overhead costs at a minimum until necessary.

    Acceptance Criteria

    • [ ] Integrate Vapor Mailgun
    • [ ] Curate a list of content within a period of time.
    • [ ] Create a template for that content with proper branding.
    enhancement 
    opened by haIIux 1
  • Server DB Setup

    Server DB Setup

    Using Fluent

    Install PostgreSQL

    • App: Use the app to start the Postgres server.
    • CLI

    Setup DB and User

    1. brew install postgresql
    2. psql -U postgres
    3. create database vapor_database;
    4. \c vapor_database;
    5. create user oneleif_dev with encrypted password 'oneleif_password';
    6. grant all privileges on database vapor_database to oneleif_dev;
    7. \q

    Finally

    vapor run

    documentation good first issue wontfix 
    opened by 0xLeif 0
  • Image Hosting

    Image Hosting

    Describe the requested feature A method needs to be determined to host images then save the image url within the database table for items such as profile imaging, article hero images and maybe even embedded images for the article?

    Acceptance Criteria

    • [ ] Determine image hosting service.
    • [ ] Ability to save image url to appropriate table column.
    • [ ] Ability to hoist image url to front end.
    opened by haIIux 0
  • Authentication Email Validation

    Authentication Email Validation

    Determine how to handle account authentication email validation.

    ie. User signs up, an email is then dispatched to the email they input that confirms their identity.

    enhancement 
    opened by haIIux 0
Owner
oneleif
Open Source Development team trying to develop great software
oneleif
Server-side Swift. The Perfect core toolset and framework for Swift Developers. (For mobile back-end development, website and API development, and more…)

Perfect: Server-Side Swift 简体中文 Perfect: Server-Side Swift Perfect is a complete and powerful toolbox, framework, and application server for Linux, iO

PerfectlySoft Inc. 13.9k Dec 29, 2022
Server-side Swift. The Perfect core toolset and framework for Swift Developers. (For mobile back-end development, website and API development, and more…)

Perfect: Server-Side Swift 简体中文 Perfect: Server-Side Swift Perfect is a complete and powerful toolbox, framework, and application server for Linux, iO

PerfectlySoft Inc. 13.9k Jan 6, 2023
Mobile, desktop and website Apps with the same code

Mobile, desktop and website Apps with the same code This project shows how the source code can be architectured to run on multiple devices. As of now,

Benoit VALLON 5.2k Jan 1, 2023
A Quick macOS app that will check a website's sitemap.xml against a new domain

Migrator Quick and dirty native macOS app that will check a website's sitemap.xml against a new domain. When you're developing your new website and wa

Stanislas Chevallier 0 Nov 8, 2021
Server-side Swift. The Perfect core toolset and framework for Swift Developers. (For mobile back-end development, website and API development, and more…)

Perfect: Server-Side Swift 简体中文 Perfect: Server-Side Swift Perfect is a complete and powerful toolbox, framework, and application server for Linux, iO

PerfectlySoft Inc. 13.9k Dec 29, 2022
A set of libraries to help users find and replace native system emojis with EmojiOne in their app or website.

This repository is now maintained as JoyPixels/emoji-toolkit. You'll find the latest version of our resources at emoji-toolkit. Please see the UPGRADE

JoyPixels Inc. 4.5k Dec 24, 2022
Movies app written in Swift 5 using the Custom API created on the Mocky website

Movie App shows you collections of TV streaming and other movies. Movie app writ

null 8 Dec 7, 2022
SwiftUIWordpressClient - An iOS application for any WordPress website

SwiftUIWordpressClient SwiftUIWordpressClient is an iOS application for any Word

Liubov Ilina 3 Sep 27, 2022
Tutorials from sparrowcode.io website. You can add new, translate or fix typos. Also you can add your apps from App Store for free.

Tutorials from sparrowcode.io website. You can add new, translate or fix typos. Also you can add your apps from App Store for free.

Sparrow Code 31 Jan 3, 2023
Bootcamp1000 - Practical application of a design taken from the Dribble website -> For our group in WhatsApp

Bootcamp1000 New Challenge Practical application of a design taken from the Drib

ibrahim almutiry 1 Jun 24, 2022
Tutorials from sparrowcode.io website. You can add new, translate or fix typos.

Tutorials from sparrowcode.io website. You can add new, translate or fix typos. Also you can add your apps from App Store for free.

Sparrow Code 31 Jan 3, 2023
Tutorials from sparrowcode.io website. You can add new, translate or fix typos. Also you can add your apps from App Store for free.

Страницы доступны на sparrowcode.io/en & sparrowcode.io/ru Как добавить свое приложение Добавьте элемент в json /ru/apps/apps.json. Если ваше приложен

Sparrow Code 30 Nov 25, 2022
SwiftUI animation tutorials, all of demos are consisted of youtube videos at website of kavsoft

SwiftUI animation tutorials, all of demos are consisted of youtube videos at website of kavsoft

Yonggang Liu 194 Dec 29, 2022
Website for AudioKit documentation.

AudioKit.io audiokit.io hosts DocC documentation for all AudioKit packages. Running the Website The first and only thing we need to do is add a workin

AudioKit 3 Sep 5, 2022
Smooch is the best way to have personal, rich conversations with people on your website or customers on any device

Smooch is the best way to have personal, rich conversations with people on your website or customers on any device. Our features, integrations and developer-friendly APIs empower companies to connect with their customers in a whole new way.

Zendesk 121 Aug 1, 2022
🗃 Powerful and easy to use Swift Query Builder for Vapor 3.

⚠️ This lib is DEPRECATED ⚠️ please use SwifQL with Bridges Quick Intro struct PublicUser: Codable { var name: String var petName: String

iMike 145 Sep 10, 2022
A SwiftUI iOS App and Vapor Server to send push notifications fueled by Siri Shortcuts.

Puffery An iOS App written in SwiftUI to send push notifications fueled by Siri Shortcuts. You can follow other's channels and directly receive update

Valentin Knabel 29 Oct 17, 2022
Simple Application that registers Vapor Leaf's .leaf file type to LaunchServices as html enabling automatic syntax highlighting in Xcode.

Vapor Leaf Extension Update: The Vapor Leaf Extension is now meant to be used with the Xcode Plugin I designed to provide Xcode language support for t

Omran Khoja 12 Jun 18, 2022
Swift Bot with Vapor for Telegram Bot Api

Telegram Vapor Bot Please support Swift Telegram Vapor Bot Lib development by giving a ⭐️ Telegram Bot based on Swift Vapor. Swift Server Side Communi

OleG. 104 Jan 6, 2023
A template Vapor app with nginx frontend.

This is an example Vapor app. It contains the app itself, as well as surrounding components (Postgres database, nginx frontend for providing secure connection), all runnable out of the box with docker compose. It is a good starting point for Vapor development of an API server which you could access from macOS and iOS clients.

Jaanus Kase 5 Jul 1, 2022