Skip to content

Commit

Permalink
Version 0.5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
stanleyowen committed May 6, 2021
1 parent 38d2bf1 commit e8d6074
Show file tree
Hide file tree
Showing 10 changed files with 13 additions and 15 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
[![Netlify Status](https://api.netlify.com/api/v1/badges/56772f5c-0c69-41e8-a788-69ca591e70ef/deploy-status)](https://app.netlify.com/sites/todoapp-task/deploys)

## Login Freely with OAuth
![Login with OAuth](https://user-images.githubusercontent.com/69080584/113655970-16ca1c00-96c5-11eb-836e-83e0c58cbe2b.png)
![Login with OAuth](https://user-images.githubusercontent.com/69080584/117276341-00aca880-ae89-11eb-90b8-730f543a726e.png)

## Built In Multi Factor Authentication (MFA)
![Multi Factor Authentication](https://user-images.githubusercontent.com/69080584/115656260-1eddb900-a35f-11eb-8c6f-fa24196704b6.png)
![Multi Factor Authentication](https://user-images.githubusercontent.com/69080584/117276484-25a11b80-ae89-11eb-8034-d5a5d4ef4c93.png)

## User Interface
![Todo Application](https://user-images.githubusercontent.com/69080584/113655834-c488fb00-96c4-11eb-9479-be2e0e4acc62.png)
Expand All @@ -32,7 +32,7 @@ Todo Application is an **open source** project, completed with **highest standar
There are some several quick start options available:
- [Fork this repository](https://github.com/stanleyowen/todo-application/fork)
- Clone this repository, type `https://github.com/stanleyowen/todo-application.git` in command line
- [Download the latest release](https://github.com/stanleyowen/todo-application/archive/v0.5.0.zip)
- [Download the latest release](https://github.com/stanleyowen/todo-application/archive/v0.5.1.zip)
2. Install All the Dependencies
- Open your terminal
- Change directory `cd` to both `client` and `server` folder
Expand Down
4 changes: 2 additions & 2 deletions client/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion client/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "client",
"version": "0.5.0",
"version": "0.5.1",
"private": true,
"dependencies": {
"@date-io/date-fns": "^1.3.13",
Expand Down
2 changes: 1 addition & 1 deletion client/src/App.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! Todo Application - CSS Version 0.5.0 Copyright 2021, Stanley Owen */
/*! Todo Application - CSS Version 0.5.1 Copyright 2021, Stanley Owen */
@import url('https://fonts.googleapis.com/css2?family=Chilanka&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP&display=swap');
* {
Expand Down
3 changes: 1 addition & 2 deletions client/src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ import { BrowserRouter as Router, Route } from 'react-router-dom';
import axios from 'axios';

import { setNotification, NOTIFICATION_TYPES } from './libraries/setNotification';
import "./App.css";
// import "./App.min.css";
import "./App.min.css";

import Navbar from './components/navbar.component';
import Welcome from './components/welcome.component';
Expand Down
2 changes: 1 addition & 1 deletion client/src/App.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "todo-application",
"version": "0.5.0",
"version": "0.5.1",
"description": "An open source project of Todo which is easy to use and easy to organize!",
"repository": {
"type": "git",
Expand Down
4 changes: 2 additions & 2 deletions server/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion server/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "server",
"version": "0.5.0",
"version": "0.5.1",
"description": "",
"main": "index.js",
"scripts": {
Expand Down
1 change: 0 additions & 1 deletion server/routes/users.route.js
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,6 @@ router.put('/otp', async (req, res, next) => {
if(err) return res.status(500).send(JSON.stringify({status: 500, message: MSG_DESC[0]}, null, 2));
else if(data){
passport.authenticate('generateToken', { session: false }, (err, token, info) => {
console.log(info)
if(err) return res.status(500).send(JSON.stringify({status: 500, message: MSG_DESC[0]}, null, 2));
else if(info && (info.status ? info.status >= 300 ? true : false : true)) return res.status(info.status ? info.status : info.status = 400).send(JSON.stringify({status: info.status, message: info.message}, null, 2));
else if(token){
Expand Down

0 comments on commit e8d6074

Please sign in to comment.