A Simple Responsive Recipe Website made using NodeJS, ExpressJS, EJS, and MongoDB.
- Live preview of this project: myCafe
- Simple Responsive Design
- Register and Login Functionality
- JWT Authentication
- Create Your Own Recipe
- Duplicate Ingredients Removal
- User & Recipe Validation
- Protected Routes
- Password Hashing - Bcrypt
- Custom Error Handling
- 404 Page
- First, download or clone this repo, and then run the command given below to install all the required dependencies.
npm install-
Rename the
.env_samplefile to.env -
Provide your MongoDB Connection String, JWT Secret Key, and PORT inside the
.envfile. -
Run the
node appornodemon appcommand to start the server. -
Finally, Preview this project locally by visiting the URL:
localhost:<PORT number> -
In production, use
secureproperty in cookie parser options object. You can add it inside thecontrollers/myController.jsfile.
If you have any feedback, please reach out to me at kunalukey32@gmail.com