Giter Club home page Giter Club logo

daily-bytes's Introduction

Daily Bytes

An online diary app where you can write whatever you wish and everything gets saved on the cloud.

Objective

To learn the Django framework

Built with

Plug-ins / Add-ons used

Hosted on

Screenshots

Landing page

Sign in

Home

Add entry

App is live at

dailybytes.herokuapp.com

Getting Started

Download and run the project

Installation

  1. Clone the repo git clone https://github.com/thecoducer/daily-bytes.git
  2. cd daily-bytes
  3. Create a virtual environment in Python: virtualenv -p python3 env
  4. Activate env: source env/bin/activate
  5. Install the requirements: pip3 install -r requirements.txt

Set up the environment variables

Create a .env file at the root of the directory and paste the below snippet in it and add your own credentials wherever required.

SECRET_KEY = 3s@8*%rpq13e03-5-_(9ow^*9f&c5rar(5wr%vhs=_k16@(r3i

SOCIAL_AUTH_GOOGLE_OAUTH2_KEY = <get one from Google developers console>
SOCIAL_AUTH_GOOGLE_OAUTH2_SECRET = <get one from Google developers console>

SOCIAL_AUTH_KEY = <get one from Google developers console>
SOCIAL_AUTH_SECRET = <get one from Google developers console>

EMAIL_HOST_USER = <your email id>
EMAIL_HOST_PASSWORD = <your regular/app-specific password>

DEBUG = True

TIME_ZONE = <your time zone>

ALLOWED_HOSTS = localhost, .herokuapp.com, https://dailybytes.herokuapp.com, https://dailybytes.herokuapp.com/, http://dailybytes.herokuapp.com, http://dailybytes.herokuapp.com/

Running the app

  • Create the database: python manage.py migrate
  • Create admin account: python manage.py createsuperuser
  • Run the app: python manage.py runserver

Improvements

Check this list

Contributing

Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated. Go ahead and fork the project.

License

Distributed under the MIT License. See LICENSE for more information.

Contact

Twitter: @thecoducer or Email: [email protected]

daily-bytes's People

Contributors

dependabot[bot] avatar thecoducer avatar

Stargazers

 avatar  avatar  avatar

daily-bytes's Issues

Improvements

  • Add sign in with username or email feature
  • Handle alert messages in auth forms properly
  • Preload a demo entry
  • YouTube embed in entries
  • Starred posts feature
  • Mark multiple items
  • Assign labels
  • Search functionality
  • Labels dropdown and filter entry data according to the label clicked
  • Trash entries order
  • Can be improved a lot if AJAX and JS is used extensively
  • Add submit success messages on pages like contact and profile
  • If user signed in with social sign in for the first time then take them to set password and edit username auth page
  • Textarea width made responsive
  • Export data button on profile page. Pops modal on click. Modal asks as pdf or as json
  • Import data button on profile page. Pops modal on click. Modal asks from pdf or from json
  • Delete confirm modal

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.