Skip to content

Initial code for coding a React application talking to a provided RESTful backend

Notifications You must be signed in to change notification settings

altbdoor/coding-day-react

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Requirements

git and a recent version of NodeJS + npm need to be installed.

Setup

  1. go to /server and npm install
  2. go to /coding-day-react and npm install

Server

The server uses json-server under the hood and is serving a RESTful API under http://localhost:3000/ , allowing CORS by default.

The endpoints are:

  /news
  /teams/
  /teams/{id}
  /teams/{id}/users
  /users
  /users/{id}

Running

To run it, go under /server and npm start

React client

The frontend was generated using the create-react-app.

Running

To run in development mode, go under /coding-day-react and npm start

Testing

To run the tests, go under /coding-day-react and npm test

About

Initial code for coding a React application talking to a provided RESTful backend

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 77.6%
  • HTML 17.5%
  • CSS 4.9%