Giter Site home page Giter Site logo

le_test_ultime's Introduction

TODO

Another stupid Facebook app which will tell you who you truly are.

This is how it looks like

Written in French but feel free to make a pull request to translate it into another language. We all want to know who we are!

Start the program

Install dependencies & create a database

Run pip install -r requirements.txt to install all the dependencies.

Create a new database called app.db located at the root of your project.

ℹ️ The project uses SQLite3 by default. You can change that in config.py.

Sensitive data

Fork this project then open config.py.sample. Replace the data with your own. Rename it config.py.

Add data

Open data/fbapp.yaml and add as many descriptions as you'd like!

Then create the database running this command:

FLASK_APP=run.py flask initdb

⚠️ Re-running this method deletes all data. be careful!

Run the server

Start a server in debug mode:

python run.py

Start a server in production mode:

FLASK_APP=run.py flask run

Start a Flask shell:

FLASK_APP=run.py flask

Contribute

This is a work in progress project!

Feel free to contribute making a pull request. I'll be very happy to read it!

le_test_ultime's People

Contributors

celine-m-s avatar regisb avatar

Stargazers

Shewi avatar  avatar VirginiaPerez avatar  avatar S.IZADI avatar  avatar

Watchers

James Cloos avatar

le_test_ultime's Issues

Improve tests

  • Do unit test to ensure images are generated the right way.
  • Functional test on the share button: test og:image's content is ok.

Add descriptions

The basic file (data/fbapp.yaml) has only 3 descriptions (including one that is not really useful). We can do more! 💪

Register user

We don't do nothing with the user that takes our test.
We could register their first name and gender to do statistics on our visitors.

Round corners on images

Now, images are cropped so they can show in a nice format in the result page.

I'd like to add them as well in the OpenGraph image, so the image that the user shares on Facebook looks prettier.

The problem is I don't managed to make round corners. Rectangular ones are ugly!

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.