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_sample
file to.env
-
Provide your MongoDB Connection String, JWT Secret Key, and PORT inside the
.env
file. -
Run the
node app
ornodemon app
command to start the server. -
Finally, Preview this project locally by visiting the URL:
localhost:<PORT number>
-
In production, use
secure
property in cookie parser options object. You can add it inside thecontrollers/myController.js
file.
If you have any feedback, please reach out to me at [email protected]