Giter Site home page Giter Site logo

ykdojo / editdojo Goto Github PK

View Code? Open in Web Editor NEW
334.0 113.0 98.0 10.62 MB

(I'm no longer working on this - currently working on https://github.com/ykdojo/defaang)

Home Page: https://www.csdojo.io/edit

License: MIT License

Python 4.32% CSS 84.42% HTML 2.90% JavaScript 8.22% PowerShell 0.14%

editdojo's Introduction

Edit Dojo

A web app to improve writing skills in any language.

Screenshots

Screenshot 1 Screenshot 2

Inspiration

The inspiration for this came from the lack of these kind of resources. You can find a ton of resources to master reading, listening or speaking a language. But when it comes to writing, there simply aren't much.

How it works

The app will function in these steps:

  1. A user A will sign up with 2 languages, one in which they are proficient(say, English) and the other which they want to learn(say, Japanese).
  2. Then they will write anything they need in, say, Japanese.
  3. A user B, who is proficient in Japanese, will then verify and propose corrections.
  4. Similarly if someone wants to learn English, user A can verify their messages.
  5. Everyone is happy.

Initially the app will be based on twitter, that is, users will be editing tweets. Eventually, you will able to use this app without using Twitter at all!

Waiting list

If you'd like to get an email when this website/app is ready, please sign up to our waitlist here: https://www.csdojo.io/wait

Pre-requisites

We would need following installed in our system before we start with setting up the project in local machine.

  1. Git - This is needed as a version control system. If you don't have this preinstalled in local machine, visit https://git-scm.com/downloads and setup git on local.
  2. Python 3 - We are using Python as a programming language in this project. Mac and Ubuntu have it pre-installed. NOTE: you might have Python 2 on your Mac or Ubuntu. If so, make sure to download Python 3.

Local Setup

  1. Clone this repository into local system and change the directory.
git clone https://github.com/ykdojo/editdojo.git
cd editdojo/
  1. Install pip3 and pipenv.
pip3 install pipenv
  1. Go into the virtual environment:
pipenv install
pipenv shell
  1. Apply migrations
python manage.py makemigrations
python manage.py migrate
python manage.py loaddata languages.yaml
# NOTE: you can produce the same data in languages.yaml with
# python manage.py dumpdata users.Language --format=yaml > languages.yaml
  1. Set up Twitter

For this, first, set up your environment variables.

You can take a look at .bash_profile_sample on how to set them up.

Then, run:

python manage.py shell < setup_twitter.py

On Heroku:

heroku run manage.py shell

exec(open("./setup_twitter.py").read())
  1. Run the server:
python manage.py runserver <PORT>
OR
python manage.py runserver
  1. Start the application opening the link shown in your terminal on a browser.

Resources

This is a part of the series of YouTube videos demonstrating how to build a real startup using Python and Javascript. Useful resources for this project:

Created by

The project was started by: YK Sugi. He's the guy who's running CS Dojo, a programming education YouTube channel.

If you have any questions related to this project, please contact him on our Slack group.

editdojo's People

Contributors

franktzheng avatar glxnull avatar tipuch avatar vvyomjjain avatar ykdojo 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  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  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  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  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  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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

editdojo's Issues

Should we use Node.js for this project?!

Okay, so I'm happy with using Django so far (even though I haven't built much yet).

However, it seems like Node.js is much more popular these days for backend development.

I'm kind of starting to think, should we use Node.js and maybe Express.js for this project? I know that Node.js is much simpler, but would it be a good tech to use for this particular project?

(I probably won't switch, but I just wanted to throw this idea here just to start up a discussion about it - since this is something I've been wondering about for a few weeks.)

How about accounts?

Maby we should start thinking about creating views and models for users accounts?

Automatically detect if the given text is Japanese or English with Python

I think I'm going to release the Twitter-based version of this product for Japanese and English first. So, we should be able to detect if a given tweet is written in Japanese or English with Python. This way, we can only show Japanese tweets coming from Japanese learners to native speakers of the language. Same with English.

Find the difference between two sets of text with JavaScript

Example:

  • Original text: I had aweesome breakfast tooday.
  • Edited text: I had awesome breakfast today.

Given these two sets of text, we should be able to find the difference with JavaScript. And show the difference in UI. This way, it'll be easy to see how the original text has been edited.

In this case, it should look like this: I had awe<e>some breakfast to<o>day.

(Where <e> and <o> have strikethrough over them)

DoesNotExist at /accounts/twitter/login

Request Method: GET
http://127.0.0.1:8000/accounts/twitter/login/
2.1.2
DoesNotExist
SocialApp matching query does not exist.
C:\Users\ninte.virtualenvs\editdojo-mEFwjXpH\lib\site-packages\django\db\models\query.py in get, line 399
C:\Users\ninte.virtualenvs\editdojo-mEFwjXpH\Scripts\python.exe
3.7.2
['E:\editdojo', 'C:\Users\ninte\.virtualenvs\editdojo-mEFwjXpH\Scripts\python37.zip', 'C:\Users\ninte\.virtualenvs\editdojo-mEFwjXpH\DLLs', 'C:\Users\ninte\.virtualenvs\editdojo-mEFwjXpH\lib', 'C:\Users\ninte\.virtualenvs\editdojo-mEFwjXpH\Scripts', 'C:\Users\ninte\AppData\Local\Programs\Python\Python37-32\Lib', 'C:\Users\ninte\AppData\Local\Programs\Python\Python37-32\DLLs', 'C:\Users\ninte\.virtualenvs\editdojo-mEFwjXpH', 'C:\Users\ninte\.virtualenvs\editdojo-mEFwjXpH\lib\site-packages', 'c:\users\ninte\.virtualenvs\editdojo-mefwjxph\src\tweepy']
Sat, 21 Sep 2019 19:42:30 +0000

Make a simple Twitter bot with Python

This is just so that we can learn how to use Twitter API.

Maybe something that says "hello, world back to you!" when it receives a Twitter mention that says "hello, world!"

Decide how to deploy this app

Python Anywhere's cheapest option might be just enough for now ($5/month for 1 GB disk, 2000 CPU-seconds per day with MySQL database).

Or should we use Heroku, Digital Ocean, Google Cloud, or anything else?

Add a readme

Hey @ykdojo,

This sounds like a really cool project judging by the idea described in the video. But the repo doesn't have a readme to give a description. I know the repo doesn't have much to describe as of now, I'll still suggest adding one.

Make a TODO app with Django

I'm actually still in the process of learning Django basics.

I realized I should probably build a simple app like a TODO app first. It will be a prerequisite for building the log in with Twitter function, I think. (Since we'll need to store user data in our database)

So, maybe this will be my next video, instead.

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.