Giter Site home page Giter Site logo

devpad's People

Contributors

2802harsh avatar afif1400 avatar anandbaburajan avatar anastr0 avatar anasvakyathodi avatar ayush-git228 avatar giayychan avatar gitter-badger avatar jsflor avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

devpad's Issues

Best practices TODO

Code

  • Proper readable and maintable code with consistent spacing and indentation
  • Functions follow the "Do One Thing" rule (single-responsibility)
  • Followed DRY (Don’t Repeat Yourself)
  • Added comments wherever required
  • Proper naming conventions
  • Avoided deep nesting

Readme

  • Badges (similar to the Gitter badge. You can maybe use: https://shields.io/)
  • Description (why this project exists)
  • Features (working of the project)
  • Setup (Quick start instructions with how to download and use your project)
  • Contributing (How can others contribute?)
  • License ("This project is licensed under the ")

Tests and CI/CD

  • Wrote tests
  • Deployed the project (if possible)
  • Added CI/CD tools to your project (maybe CircleCI or TravisCI) (if possible)

Search by tags

  • Search bar

  • Show blog posts with searched keywords as tags

Add auto refresh/auto fetch

Posts data in the /posts path must refresh data after submitting a post in the newpost (/new) page.
Till Now, user have to refresh the posts page after submitting post.

Author name for post (backend)

Update the database so that,

  • models needed to update : posts, users
  • In posts model, a new author field must be created. Also change routes endpoints related to the
  • In users model, a new fullName field must be added along with username and password
  • Change login and register api routes so that it should save the fullName in the database

Form validator

Add a validator in login and signup (frontend) to make a standard way of adding user id and password.
you can refer other sites. for conditions or can use packages.

Add Local variable

Add a local variable in the main page to know whether the user is new or not. If he is new to page, show welcome note, else hide.

Screenshot_Dev_Pad

MUI Login & SignUp Page

Create Login & Sign Up Page
1.User can enter into page without login
2.If he want to create a post, on new post page - check if he is already logged or not, if not - redirect him to login page and after login redirect back to new post page

  • If he is new, give a "register" link in the form, which will redirect to register page, after registration goto login page
  1. login & register page have fields "username" and "password" and also forget password link which redirects to mail with subject "forgot password"
  2. both register and login "post" request has a body {username:"",password:""} which will be passed to jwt auth on backend

Update UI

Change reactjs styles for pages : login, register
Conditions:

It must be responsive
Keep same style as that post newPost Page

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.