Giter Club home page Giter Club logo

artify-core's People

Contributors

jackbotbot avatar nghiatranuit 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

artify-core's Issues

Support Postgresql database

Acceptance Criteria

  • Integrate Postgresql appropriately
  • Implement Driver to connect, fetch basic and parse to models

Improve /feature/today

Acceptance Criteria

  • Fill 30 photos data for 30 days
  • Return each image for each day sequently

Move to Pop

When seeking for suitable go library, which is in charge of migration DB appropriately. I found out that Pop (https://github.com/gobuffalo/pop) is potential candidate.

It mimics same Active Record behavior. It means It supports ORM and Migration by providing handy command line.

I love it ๐Ÿบ

Acceptance Criteria

  • Refactor all Artify-core with Pop
  • Support DB Migration
  • Make sure the db has correct schema (foreign_key, constrains ... )
  • Able to migrate up/down on dev/production

Support Tag on Photo

Acceptance Criteria

  • Support Tag on Photo model
  • Able to search photos from particular tag. Ex: #impressionism, #expressionism, ...

Post photo

Background

We gonna certainly support a capability to upload Photo with relevant information, such as Author, tag, time.

Ideally, this endpoint only primarily serves for our Internal Dashboard.

Acceptance Criteria

  • POST /photo
  • Store photo data appropriately in Postgresql database.
  • Upload image to S3

Public API to community.

I'd be great if we contribute back to community our API. So if everyone is interested Artify, he can leverage our API.

Acceptance Criteria

  • Support account and access_token
  • Support Limiter for individual endpoint. Ex: 1000 re/month.

Randomize Photo Endpoint

Acceptance Criteria

  • Support photo/random to randomize photo
  • Photo and Author in Response JSON
  • Do a random in Photos table

Support PostgreSQL schema

Acceptance Criteria

  • Use Goose database migration tool
  • Write database schema with correct primary key and foreigner key
  • ...

Support Cloudflare with Nginx for Digital Ocean Droplet

In order to prevent DDOS and protect the service better, it'd nice to introduce Cloudflare.
On the other hand, Nginx is responsible for proxying and hiding the port :7300.

Acceptance Criteria

  • Support Cloudflare
  • Setup Nginx and expose default port :80

Support godocs

Acceptance Criteria

  • Add document and Example
  • Generate doc by godocs

Healthy check

Acceptance Criteria

  • Return status of artify-core and relevant services

Support CircleCI CI/CD

Acceptance Criteria

  • Automatically trigger CircieCI
  • Archive and test project
  • Acknowledged to Artify-Core

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.