Giter Site home page Giter Site logo

northwind-workshop-express-server's Introduction

Shop at Northwind Workshop Server

This is intended to be the backend for the Shop at Northwind workshop.

Setup this server locally

This section will discuss how to get the Northwind Grocery server up and running locally

  • Verify Node.js is installed by running the following command.

    Command to run

      node -v

    Sample Output

      v14.15.4            (it may be a slightly different version)

    Note: If you do not have Node.js installed, you can install the LTS (Long-term Support) version from here: https://nodejs.org/en/

  • Clone this repository to your local computer.

      git clone https://github.com/DevelopIntelligenceBoulder/northwind-workshop-express-server.git
  • Change directories (cd) into the newly cloned projects folder.

      cd northwind-workshop-express-server
  • Install the projects dependencies with NPM (Node Package Manager).

      npm install
  • Start the local server

    Command to start the server

      npm start

    Expected Output

      App listening at port 8081
  • Verify the server is working as expected by accessing http://localhost:8081/api/categories with a browser or a third party tool like Postman

    Expected output from URL

    [{"categoryId":1,"description":"Soft drinks coffees teas beers and ales","name":"Beverages"},{"categoryId":2,"description":"Sweet and savory sauces relishes spreads and seasonings","name":"Condiments"},{"categoryId":3,"description":"Desserts candies and sweet breads","name":"Confections"},{"categoryId":4,"description":"Cheeses","name":"Dairy Products"},{"categoryId":5,"description":"Breads crackers pasta and cereal","name":"Grains/Cereals"},{"categoryId":6,"description":"Prepared meats","name":"Meat/Poultry"},{"categoryId":7,"description":"Dried fruit and bean curd","name":"Produce"},{"categoryId":8,"description":"Seaweed and fish","name":"Seafood"}]

northwind-workshop-express-server's People

Contributors

learnwithdana avatar eric-di avatar davegregg 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.