Code Monkey home page Code Monkey logo

feathersjs-menu-monkey-backend's Introduction

feathersjs-menu-monkey-backend

Backend for a recipe box website

How to run it

Install mongodb then create a database called upgraded_menu_monkey

git clone https://github.com/benawad/feathersjs-menu-monkey-backend.git

cd feathersjs-menu-monkey-backend

npm install

npm start

Then run the frontend.

Learn how it was made

Check out the YouTube tutorial.

feathersjs-menu-monkey-backend's People

Contributors

benawad avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

feathersjs-menu-monkey-backend's Issues

REST API allows you to add recipes with attributes that are not in the schema

E.g., put your jwt token in here and run it:

curl -X POST -H "Accept: application/json" -H "Content-Type: application/x-www-form-urlencoded" -H "Authorization: Bearer MY-AUTH-TOKEN-HERE" -H "Cache-Control: no-cache" -d 'name=home&noexisty=har&description=aoeu&ingredients=aoeu&imageURL=oaesnuth&ingredients=aoeusnthue' "http://localhost:3030/recipes"

It succeeds, and recipes.db has a new line that contains the field noexisty.

tests don't pass out-of-the-box

npm test has the linter complain with a bunch of 'must use singlequote' messages (and one 'missing semicolon') about src/services/recipe/hooks/process.js.

npm run mocha fails seemingly due to a typo (time.test.js is under 'recipes' and looks for 'recipes', but under src/services the directory is called 'recipe,' singular.) I saw this in one of your videos (great series btw) where the cause of node not starting up was a plural in one place, singular in another. Which is the 'right' standard to use?

socket.io

Hi!

I was just playing with the new code but when i exchange the rest adapter for a socket.io one the authentication state is not persisted over page reloads anymore.

Do you have any idea why?

Thanks, Kai

Doesn't work

Hi Ben, I just cloned the backend and the frontend after installing mongodb and creating the database. I start the app but I get many warnings in the console and I cannot create new recipes.

Is the repository updated with the latest changes described in your youtube videos?

All the best

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.