SitePoint
  • Blog
  • Forum
  • Library
  • Login
Join Premium
  1. Details
  2. Creator
  3. Content
  4. Reviews
  5. FAQ
Build a Recipe App with Nest.js and MongoDB Cover

Build a Recipe App with Nest.js and MongoDB

Created by

Ivaylo Gerchev

Published by

SitePoint

Last Updated

3 April 2020

Details

In this tutorial, we’re going to use the NestJS framework for Node to build an API for a small but fully functional CRUD recipe app. Along the way, you'll see just how powerful and elegant this framework can be.

Description

Creating any non-trivial app requires a good project structure and organization. Otherwise, we can easily end up with a project which is hard to maintain, test, and extend. Having a good structure is especially important when a project is developed by a team. In that case, the good structure, consistent code organization and common naming conventions ensure that the app’s codebase will be manageable and maintainable even when written by different developers.

In this tutorial, you'll learn about a Node.js framework called NestJS, which provides you with a great project structure from the very beginning.

We’re going to use Nest to build an API for a simple CRUD recipe app. We’ll also provide a Vue front end to consume the API with the following functionality:

  • On the app’s main page, a list of all recipes will be displayed.
  • Each recipe from the list will be presented with a Bootstrap card component and will have a title, a description, a category, a list of ingredients, and cooking instructions.
  • Each recipe will have the options to be edited (on a separate page) or removed from the list.
  • The recipes will have the option to be searched by a particular term and/or filtered by a selected category.

This app, even though small and simple, will be enough to demonstrate the main features of the Nest framework.

Creator

Ivaylo Gerchev avatar

Ivaylo Gerchev

I am a web developer/designer from Bulgaria. My favorite web technologies include SVG, HTML, CSS, Tailwind, JavaScript, Node, Vue, and React. When I'm not programming the Web, I love to program my own reality ;)
Ivaylo Gerchev avatar

Content

1
Preview

Reviews

Log in to write a review!

Frequently Asked Questions

Build a Recipe App with Nest.js and MongoDB Cover

Build a Recipe App with Nest.js and MongoDB

  • Unlimited access to this title and 600+ others in our library

  • New titles added frequently

  • Cancel anytime

Stuff we do

  • Premium
  • Newsletters
  • Forums

About

  • Our Story
  • Terms of use
  • Privacy Policy
  • Corporate Memberships

Contact

  • Contact us
  • FAQ
  • Publish your book with us
  • Write an article for us
  • Advertise

Connect

© 2000 – 2024 SitePoint Pty. Ltd.

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.