Skip to content

Commit

Permalink
Bug fix added validation Issue #31 (#42)
Browse files Browse the repository at this point in the history
* Setup the respository in local machine and also added nodemon instead of node in backend

* Added the validation for checking before adding steps and ingredients

* Update RecipeController.js

removed extra lines

* Update Signup.jsx

removed console.log wherever i had added for testing purposes

* Update RecipeController.js

removed the console.log

* Update package.json

Changed start back to node from nodemon

* Update backendUrl.js

reverted back

* Delete package.json

removed

* Delete package-lock.json

removed

* Update package.json

---------

Co-authored-by: Alfiya Siddique <[email protected]>
  • Loading branch information
sadath2001 and AlfiyaSiddique authored Oct 4, 2024
1 parent 2d434eb commit 56f0a55
Show file tree
Hide file tree
Showing 6 changed files with 347 additions and 18 deletions.
3 changes: 3 additions & 0 deletions backend/Controllers/UserController.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
import bcrypt from "bcrypt";
import User from "../models/User.js";
import jwt from "jsonwebtoken";
import dotenv from "dotenv"

dotenv.config()
/**
* @route {POST} /api/signup
* @description Create a new user
Expand Down
Loading

0 comments on commit 56f0a55

Please sign in to comment.