Skip to content

helloitsdave/notes-app-full-stack-testing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

notes-app-full-stack-testing

CodeQL

The intention is to build and deploy a very simple app (FE/BE + DB) which can be used to demonstrate tests for each layer using vitest, supertest, react-testing-library and playwright.

Starting point for building the app was the great FreeCodeCamp tutorial Full Stack Project Tutorial – Create A Notes App Using React and Node.js

Refactored the app for testability and added a few additional tweaks.

Deployed app

Playwright e2e Production Tests

  • FE and BE services are deployed using the free tier on render.com
  • Database is deployed using serverless postgres on neon

https://notes-app-full-stack-bjml.onrender.com/

Frontend

FE Implementation

End to End Tests (e2e)

Playwright e2e Production Tests

Component Tests

Frontend Component Tests

FE Service Tests

Frontend Service Tests - Playwright

Backend

BE Implementation

  • Node.js
  • Typescript
  • Express
  • Postgres
  • Primsa (DB ORM)

BE Tests

Backend Service Tests Backend Unit Tests

Database