GithubHelp home page GithubHelp logo

aurelions / web-guided-project-component-side-effects Goto Github PK

View Code? Open in Web Editor NEW

This project forked from lambda-guided-projects/web-guided-project-component-side-effects

0.0 0.0 0.0 240 KB

JavaScript 84.57% HTML 7.26% Less 8.17%

web-guided-project-component-side-effects's Introduction

Side Effects

About the setup

This project is set up with Parcel Bundler, an npm package that compiles our frontend assets and comes with an integrated development server.

The dev server runs on port 1234 by default, but will use another if 1234 is being used by another application.

Running this project

  • Clone the repo.
  • Navigate into the project folder.
  • Run npm i to download the project's dependencies listed in the package.json.
  • Run npm run server to start an API running on http://localhost:4000
  • Run npm start to compile the React project and serve the page on http://localhost:1234.

If you get a EADDRINUSE error, because there is something already running on port 4000, then run it again with a PORT environment variable set. Here's an example:

$ PORT=4001 npm run server

Server API Reference

Base URL

http://localhost:4000

Authentication

Include query parameter of api_key with your request. Otherwise you will get a status 403 error.

Example:

GET /friends?api_key=xyz

Resources

Friends
GET /friends

Friend

GET /friends/:id

web-guided-project-component-side-effects's People

Contributors

ladrillo avatar schinns 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.