Giter VIP home page Giter VIP logo

simple-express-server's Introduction

###Simple Express Server

The point of this simple express server is to allow front-end developers the ability to quickly serve test data via HTTP to the front-end.

Often writing mock data on the front-end can take up more time than needed. Also it is important to build your front-end with HTTP requests in mind - meaning it is better to structure your front-end with the HTTP frameworks and architecture you need right from the beginning instead of adding it later and replacing your mock data.

This simple server will allow you to create your HTTP front-end architecture without having to write any "fake" code.

###Installing & Running To install and run simply follow these steps:

  1. Clone this repo

  2. Open your terminal and run node server.js

  3. Your server is now available at http://localhost:6060/

  4. You can run a quick test by entering this in your browser: http://localhost:6060/animals

  5. Build your test data right in the server.js file. Create new endpoints as needed

simple-express-server's People

Stargazers

 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

simple-express-server's Issues

README.md Mistakes

Apparently the content of the Readme.md file is related with other version of the server.js.

Point 3 and 4 should be like this

  1. Your server is now available at http://localhost:6069/

  2. You can run a quick test by entering this in your browser: http://localhost:6069/ingredients

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.