Skip to content

gauthierm/rxjs-tutorial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 

Repository files navigation

RxJs Tutorial

Uses RxJs to make HTTP calls inside an React application using hooks.

Environment

Any stable version of Node JS.

Coding Standard

ESLint and Prettier are used for code.

Getting Started With the Express Backend (/api)

The application runs by default on localhost:4000 and has the following endpoints:

  • http://localhost:4000/posts - returns a JSON-encoded array of blog posts.
  • http://localhost:4000/posts/:id - returns a specific POST by id.

Running the Express Application

cd api/
yarn install
yarn start

You can verify the API is working by visiting http://localhost:4000/posts in your browser or another HTTP client.

Getting Started with the React Frontend (/web)

The React frontend is a based on create-react-app.

Running the React Application

cd web/
yarn install
yarn start

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published