Coder Social home page Coder Social logo

nemo_phoenix's People

Contributors

bszaf avatar onegrx avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

nemo_phoenix's Issues

Create module for retrieving configuration

This module should get vars from Application env vars, which are in format of:

[
{:key1, Value1},
{:key2, [
          {:nested_key, Value2}
        ]
]

This module should have implemented

  • get/1
    function for retrieving configuration, both for single key and nested ones(provided as list of keys).
    Value should returned as Value If there is no desired Key, it should return :undefined.
  • get/2
    Same like get/1 but it returns second argument if Key is not found

No route found for GET /js/utils.js

[info] GET /js/utils.js
[debug] ** (Phoenix.Router.NoRouteError) no route found for GET /js/utils.js (Nemo.Router)
    (nemo) web/router.ex:1: Nemo.Router.match_route/4
    (nemo) web/router.ex:1: Nemo.Router.do_call/2
    (nemo) lib/nemo/endpoint.ex:1: Nemo.Endpoint.phoenix_pipeline/1
    (nemo) lib/plug/debugger.ex:123: Nemo.Endpoint."call (overridable 3)"/2
    (nemo) lib/nemo/endpoint.ex:1: Nemo.Endpoint.call/2
    (plug) lib/plug/adapters/cowboy/handler.ex:15: Plug.Adapters.Cowboy.Handler.upgrade/4
    (cowboy) /home/onegrx/Desktop/nemo/deps/cowboy/src/cowboy_protocol.erl:442: :cowboy_protocol.execute/4

Google Chrome extension to interact with Nemo backend

The extension should add a new entry to the selected phrase context menu which opens a new tab with one of the online translators. Furthermore, it should allow a user to sign in and send requests to the backend app containing at least:

  • translated word
  • domain on which the word was found
  • timestamp
  • some form of user authentication

Create DB schema

Phoenix models should be created. Schema should include:

  • users
  • statistic of translation for users
  • ???

Translation per user

Since the translation engine is retarded and translates book to książki we should provide users with the ability to change translation on each word. It should be per user because one may want to have książka while the other wants to keep zarezerwować

Module for interacting with Repo

We should never call Repo directly from Controller, there should be module with composable queries for our use-cases:
It should work like:

ugly_old_females =
  Nemo.Repo.User.females()
  |> Nemo.Repo.User.ugly()
  |> Nemo.Repo.User.older_than(60)
  |> Nemo.Repo.all()

Create Translation engine

It should use other external resources (Google Translate, whatever) for translating words. This is module should have well designed interface.

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.