frontend overview:
- using create-react-app for a quick react application setup with tailwindcss for application styling
- filter source of true is the url and they are synced with application state
- using react suspense and react query for remote state/cache management
- full-rendering tests with react testing library, included react suspense and react query
backend overview:
- traditional express application
- using nedb for an in memory database
- api documented swagger with swagger-ui-express
- integratio tests with supertest
the requirements are:
- node >= 12.x
- npm 7.x
install the dependencies from the root folder:
$ npm install
from here you will need two tabs open in your terminal,
go to projects/backend
and:
$ cd projects/backend
$ npm start
go to projects/frontend
and:
$ cd projects/frontend
$ npm start
in each project folder, to run all tests a single time, you can use:
$ npm test
for watch mode use:
$ npm run test:watch
frontend screenshots:
backend screenshots: