Git Product home page Git Product logo

sms-message's Introduction

SMS Message

Development Concepts

The code are based on best practices from some concepts like Clean Code, Refactor to Patterns, SOLID, Object Calisthenics, Test Driven Development, Behavior Drive Development, Domain Driven Development.

Docker are used to run the projects.

Running the project

When start the application we will see a no data list. To make the things happen, you can try to send a message to number 13615023168 using your cellphone. Now it's time to send a message, go foward on it!

Obs: To do the realtime we use Pusher service, a great socket solution :)

$ docker-compose up

Endpoints

  • List: localhost:8080/messages
  • Send Message: GET - localhost:8080/messages/send

Backend

The Backend application structure are based on Architeture Layer Idea explained by Robert Martin on "Ruby Midwest 2011 - Keynote: Architecture the Lost Years by Robert Martin". The application api use a GraphQL endpoint to Frontend, and a webhook to receive MessageBird messages.

Obs: Localtunnel is used to expose the server on port 3000. If something wrong happen, confirm if localtunnel is working on your system :P

Tests

$ docker-compose run --rm smsmessageapi yarn integration
$ docker-compose run --rm smsmessageapi yarn test

Frontend

The Frontend application core are builded on top of Webpack, React Components, Redux, Graphql (with Apollo) and LESS. The code use some new features of ECMA2015 with a great help of our friend Babel :)

Tests

$ docker-compose run --rm ssmsmessage-front yarn test

sms-message's People

Stargazers

Roman avatar

Watchers

James Cloos avatar

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.