Giter Club home page Giter Club logo

semillas_platform's People

Contributors

carquet avatar iesteban avatar ignaciodenuevo avatar josheriff avatar jsoriano avatar pilamb avatar pyup-bot avatar s-nt-s avatar sergimartnez avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

semillas_platform's Issues

Create API Views for Posts (Item)

Endpoint for the feed of items (posts) the user will see:

-/api/v1/posts/feed -> The feed ordered by the location/publishing time of the user.
- URL parameters:
- Lat: Latitude to order by geolocation
- Lon: Longitude to order by geolocation
- category: Category id to filter by that category
- search: String to search item using that string

The default order should be by distance.

In the future, another get param can be order with two options: distance, recent

Create Gallery for Service model and add it to serializer

PhotoService model will have:

  • service: foreign key to service (this way we achieve the one to many, many photos can be pointing to one service.
  • picture: models.ImageField(null=False, blank=False, ... )

Then they should be added to ServiceSerializer. And return them inside the json in a list ordered by id.
In the photos field. They can be added like in this example: http://www.django-rest-framework.org/api-guide/relations/#nested-relationships

Feed Page: Request Position from user and send it to server.

When loading the feed, it should get the user position from the browser.

If the user allows the browser to retrieve it, it will update the user with the coordinates (PATCH /user/) and request the feed again.

It should also update the User with the permission option chosen (Browser not supported, permission denied, permission allowed).

Create User Model method: validate_phone

This will call CheckMobi service and verify the user implemented in #58

Parameter: phone properly formated (in the format CheckMobi requires)

  • Takes the phone properly formatted from the view
  • Saves the phone
  • Perform Request to CheckMobi
  • Return whether or not the CheckMobi Request was successful

Make default language English

To every user not having the browser in English, the web is showing up in Spanish.

So anyone from... France for example opening the web, it will be in Spanish.

Also in order to have the strings inside the code written in English would be great to have the default language as English.

Prepare Landing 'sign-up' and 'successfully signed-up' pages for gathering e-mails

The goal is to encourage people to sign-up in our landing page with the promise of keeping them up to date and notify them as soon as we launch the first version of the product.

So the sign-up should include a text like:
"We are not live yet, but we can keep you updated of our improvements and notify you once we launch"

And the after sign-up page should have a message like:
"Thanks a lot for joining. We will keep you posted. Keep reading about us" And a link to 'people' tab.

Translate to spanish the software tab.

There are many string in English regarding each software been used.
Also there are some sentences below "version" title which need a proper tranlation as well.
It would be very nice if they get translated.

Create User Method verify_pin

This will be called once the user has introduced the 4 digits he got (through SMS or last four digits of lost call).

  • Will call verify_pin from #58
  • Update phone_verified flag

Automate the configuration of social apps

Comes from #8 (comment) :

@iesteban says:

For the development environment, the approach I like the most is to create a script like populate_development_database. Which will be called every time we start the development environment.

That script, let's call it pre_start.py for example, will check there is an entry of a Facebook Provider in database and create if it's not there. Something like:

if not SocialApp.objects.filter(provider=Facebook):
facebook_provider = SocialApp(
provider=Facebook,
secret_key= '34567890',
...
)
facebook_provider.save()

And the place too call pre_start.py will be here: https://github.com/Semillas/semillas_backend/blob/master/compose/django/gunicorn.sh#L2

This will set the development key public. I think there is no problem at all. But maybe we should research a little bit.

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.