git and a recent version of NodeJS + npm need to be installed.
- go to /server and
npm install
- go to /coding-day-react and
npm install
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}
To run it, go under /server and npm start
The frontend was generated using the create-react-app.
To run in development mode, go under /coding-day-react and npm start
To run the tests, go under /coding-day-react and npm test