Code Monkey home page Code Monkey logo

bakery's Introduction

teste node api rest

Bakery

Requirements

Node 20

How to develop

  • Fork this repository
  • Clone the forked repository to your workspace
  • Install dependencies
  • Run tests
  • Develop your feature
  • Push your code to forked repo
  • Open a pull request to the base repo
git clone [email protected]:youruser/Bakery.git
cd Bakery
npm install
npm test

How to use

Rename .env.example to .env Setup the environment variables as your needs Run the start command run the server

mv .env.example .env
npm start

Recommendations

For better visualizations while in VsCode, install de recommended extensions described in .vscode/extensions.json

bakery's People

Contributors

virb30 avatar juniorcamargo avatar

Stargazers

Joao Costa avatar

Watchers

James Cloos avatar Marcelo Aquino avatar  avatar

Forkers

virb30

bakery's Issues

Explore Interface Segregation Principle

Suggestion of implementation for study: implement the interface segregation principle in dishes logic for:

  • Repeatable and NonRepeatable dishes
  • Type of dishes
  • Implement logic to prevent NonRepeatable dishes from being added to order more than once instead of remove them after the insertion

Improve README

Improve README.md with:

  • Short description of the project
  • Requirements
  • Instructions on how to use
  • Instructions on how to contribute

Add docs

Suggestion: add a docs folder to keep track of the decisions made as the project evolves.

Define main responsibility of Meal class

We must define the main responsibility of the Meal class, which is creating an order and printing its meals, I strongly believe that the Meal class should be responsible for creating an order that includes: extracting and ordering the input, building the correct dish, and adding it to order.
I think the printing step must be outside the Meal class, maybe in the BakeryService class or even in a presenter.

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.