Skip to content

Commit

Permalink
minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
RamakrushnaBiswal committed Oct 16, 2024
1 parent 21432b1 commit 0f31c01
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions backend/.env.example
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
MONGO_URI=enter_your_mongo_uri
EMAIL_USER=your_gmail
PORT=3000
EMAIL_PASS=your_16_digit_pass
JWT_SECRET=secret
GOOGLE_CLIENT_ID=your_google_client_id
Expand Down
1 change: 1 addition & 0 deletions backend/config/oauth.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-disable prettier/prettier */
const GoogleStrategy = require("passport-google-oauth20").Strategy;
const passport = require("passport");
const Customer = require("../models/customer.model"); // Adjust the path as needed
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/Pages/Login.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ const Login = () => {
</span>
</h3>
<a
href="http://localhost:3000/api/user/auth/google"
href={`${API_URL}/api/user/auth/google`}
className="text-[#666] font-semibold text-xl transform hover:scale-110 hover:-translate-y-1 hover:text-green-500 transition w-full"
>
<button
Expand Down
4 changes: 3 additions & 1 deletion frontend/src/components/Pages/Menu.jsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
import { useState, useEffect } from 'react';
/* eslint-disable prettier/prettier */
// eslint-disable-next-line prettier/prettier
import React , { useEffect, useState } from 'react';

import { motion } from 'framer-motion';
import Mybook from './MyBook';
Expand Down

0 comments on commit 0f31c01

Please sign in to comment.