Skip to content

The NutriChef backend is built using Node.js with Express.js as the web framework. It utilizes MongoDB as the database and Mongoose for data modeling. Authentication is handled using JSON Web Tokens (JWT) with secure HTTP-only cookies. The backend provides RESTful APIs for managing users, recipes, and authentication.

hamxy/NutriChef-server

Repository files navigation

NutriChef Backend

The NutriChef backend is a RESTful API built using Node.js and Express.js. It provides endpoints for user authentication, recipe management, and other core functionalities. The backend uses MongoDB as its database, with Mongoose for data modeling. Authentication is handled via JWT tokens stored in HTTP-only cookies, ensuring secure user sessions.


Features

✔️ User authentication (JWT-based)
✔️ Recipe creation, updating, and deletion
✔️ Recipe exploration with search functionality
✔️ Image upload support using Multer
✔️ Secure API routes with authentication middleware


Technologies Used

  • Node.js – JavaScript runtime
  • Express.js – Web framework
  • MongoDB – NoSQL database
  • Mongoose – ODM for MongoDB
  • JSON Web Tokens (JWT) – Authentication
  • Multer – File uploads
  • Bcrypt – Password hashing
  • Cors – Handling cross-origin requests

About

The NutriChef backend is built using Node.js with Express.js as the web framework. It utilizes MongoDB as the database and Mongoose for data modeling. Authentication is handled using JSON Web Tokens (JWT) with secure HTTP-only cookies. The backend provides RESTful APIs for managing users, recipes, and authentication.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published