Git Product home page Git Product logo

poll-maker's Introduction

Poll Maker - The easy way to create polls

This project is for test and learning purpose. It should be a service for create polls and use the polls in clients.

Today it's composed by the projects poll-maker and poll-restaurant.

Poll Maker

A spring boot rest service that is used for create polls.

Running

Run the server with the command java -jar build/libs/pool-maker-0.0.0.jar inside poll-maker directory. By default it uses http://localhost:8080. You should use the http://serverURL:serverPort in the poll-restaurant config.

Dependencies

It's a spring boot rest application with tomcat embedded. You can build it with gradle and all jar dependencies will be resolved. You can find in the project a Dockerfile to deploy in you container. This is an Eclipse Project and uses Java 8.

The list of main dependencies are:

Next Steps

  1. Integrate the service with redis to create a storage.
  2. Create a web application to easy poll creation.
  3. Integrate with couchdb as an alternative and to learn more about this nosql database
  4. Integrate with mongodb for learning

Poll Restaurant

A Angular 4+ client for restaurant polls using poll-maker services.

Configuration

Be shure that the poll-maker server is runing and right in the config file in poll-restaurant/config/config.json. If is not right you will get error on the E2E test.

  1. poll-restaurant App should connect with spring boot server online
  • Expected 'Undefined Error on Server Access ! close' not to contain 'Undefined Error on Server Access !'.

Test your server with command >curl http://:/polls?mail= The serviceURL and serverPort you should put in the poll-restaurant config.json file.

Dependencies

It's a angular 4+ client using jasmine, test bed and protractor tests. You can build it with angular cli and node js, don't forget to run npm install in the root directory before. This is an Visual Studio Code Project and uses Angular 4.

The list of main dependencies are:

Next Steps

  1. Make it store the location of restaurant.
  2. Increase the tests, today we have 15 unit tests and increasing on meaningfull and quantity.
  3. Increase e2e test, today we have only one
  4. If you already voted in one poll go straight for the results
  5. Show on screen invalidated restaurants
  6. Pagination on poll list

poll-maker's People

Contributors

helenoalves avatar

Watchers

Rafael Corvalao 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.