Git Product home page Git Product logo

cookbookbackend's Introduction

General Assembly Logo

Cookbook App

Prerequisites

  • Express
  • Mongoose & MongoDB
  • Mongoose Queries
  • Routes & Controllers
  • Postman

Instructions

  1. Fork and clone this repository.
  2. Change into the new directory.
  3. Install dependencies by running npm install
  4. Run npm audit fix to make sure all packages are up to date
  5. Fulfill the listed requirements.

Starter code is available to you in the main project repo. You are required to turn in your submission by making a pull request on the original repository.

Requirements

  1. Start your server from the terminal by running: npm run dev
  2. Your connection and seed files are already set up for you. Start by working through the prompts inside
  • Author.js
  • Cookbook.js
  1. Run mongod in your terminal. In a different tab, seed your data from the command line. Use mongo to make sure your data was inserted.
  2. Review the prompts that are provided to you in the following files:
  • server.js
  • controllers/cookbookRoutes.js
  • controllers/authorRoutes.js
  1. In the order the files are listed above, work through the prompts, adding your code block under each prompt. Check each route as you complete them.
  2. Submit with a pull request on this repo.

Routing Table

Update the below routing table with the routes

URL HTTP Verb Action Description
/ GET index get all fruits
/ POST create create a new fruit
/ GET show get a single fruit
/ PUT update update a single fruit
/ DELETE destroy destroy a single fruit

Plagiarism

Take a moment to refamiliarize yourself with the Plagiarism policy. Plagiarized work will not be accepted.

  1. All content is licensed under a CC­BY­NC­SA 4.0 license.
  2. All software code is licensed under GNU GPLv3. For commercial use or alternative licensing, please contact [email protected].

cookbookbackend's People

Watchers

Jaime Bondoc 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.