GithubHelp home page GithubHelp logo

peter-mghendi / yap Goto Github PK

View Code? Open in Web Editor NEW
4.0 2.0 0.0 72 KB

Yet Another Platform. A PostgreSQL-backed blog engine exposing a secure RESTful API.

License: MIT License

Go 100.00%
yap golang postgresql restful-api blog-engine

yap's Introduction

yap

Go Report Card GoDoc License: MIT

Yet Another Platform. Yet another blog/forum backend.

yap's People

Contributors

peter-mghendi avatar dependabot[bot] avatar

Stargazers

James Nyakundi  avatar Julio Monteiro avatar Kenneth Murerwa avatar Dennoh Peter avatar

Watchers

James Cloos avatar  avatar

yap's Issues

Podcast support

Work on bringing podcasts to yap as an additional content type.

Database Compatibility

As of now, the project uses some non-critical PostgreSQL specific features, which lock out other SQL dialects, even though they are well supported by the database infrastructure. Some changes to the models would create a schema that uses only standard SQL features thus making use of gorm's current support for MySQL, SQL Server and SQLite, and possible upcoming CockroachDB support.

To introduce support for Redis and MongoDB, as proposed in Gorm v2, the database layer would have to be improved or rewritten.

Project Roadmap

I realize this project has been stagnant for a while, and yes, development efforts are continuing and this has largely been due to issues on the database layer.

I considered migrating database operations to sqlx or dbr or even the standard library.

However, as much as it may be an unhealthy dependency, I will continue to use gorm, after it's v2 release. Incidentally, this provides a fix for #5.

Utilize relational data

Model relations are defined, but unutilized. They could be used to significantly reduce the API surface.

Logging

As it stands, logging in the project is a complete mess. Each library has it's own logger, which makes for messy output from different parts of the application, rather than a single standardized output stream. Logging is a vital part of the application and should be implemented as soon as possible.

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.