GithubHelp home page GithubHelp logo

katefrontend / fullstack-meal-plan Goto Github PK

View Code? Open in Web Editor NEW
8.0 1.0 2.0 8.63 MB

Fullstack Meal Plan application built with MERN (MongoDB for database, Express and Node for backend, and React for frontend).

JavaScript 67.09% HTML 8.35% CSS 24.56%
expressjs mern mern-project mern-stack mern-stack-development mongodb mongoose mongoose-schema nodejs reactjs

fullstack-meal-plan's Introduction

Meal Plan

cover

๐Ÿฆ‰ Main information

Fullstack MERN (MongoDB for database, Express and Node for backend, and React for frontend) simple Meal Planner application which allows users performing CRUD operations :

  • Create a Meal
  • Read meals
  • Update a meal
  • Delete a meal

What is the MERN stack?

MERN stack is a web development framework. It consists of MongoDB, ExpressJS, ReactJS, and NodeJS as its working components. Here are the details of what each of these components is used for in developing a web application when using MERN stack:

  • MongoDB โ€” a document-oriented, No-SQL database used to store the application data.
  • Express(.js) โ€” a framework layered on top of NodeJS, used to build the backend of a site using NodeJS functions and structures.
  • React(.js) โ€” a client-side JavaScript framework. It is a library created by Facebook and it's used to build UI components that create the user interface of the single page web application.
  • Node(.js) โ€” is a single-threaded, open-source, cross-platform runtime environment for building fast and scalable server-side and networking applications.

image

The project goal:

  • Backend features:

    • initialize backend using npm and install necessary packages
    • set up a MongoDB database
    • set up server using Node.js and Express.js
    • set up a database schema using monoose
    • set up API routes to create, read, update and delete documents from the database
    • set up controller functions for API routes
    • testing API using Postman (or Insomnia)
  • Frontend features:

    • unitialize the 'create-react-app frontend'
    • install 'axios' and use it to send a GET request to the backend to fetch the data
    • use useState and useEffect React Hooks to manipulaite with data
    • create React components and unit them in App.js
    • styling app with CSS in App.css document

๐ŸฆŠ Useful links

MERN Stack Explained

https://www.mongodb.com/mern-stack

MongoDB Basics

https://www.mongodb.com/basics?

About Node.js

https://nodejs.org/en/about/

Express.js guide

https://expressjs.com/en/guide/routing.html

โšก Built With

MongoDB | Express.js | React | Node.js

fullstack-meal-plan's People

Contributors

josue-lubaki avatar katefrontend avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.