Skip to content

About

A familiar credit card API to practice TDD and explore best practices in RESTfull web services

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

16 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Family Cash Card API

Picture profile

What will I build?

I'll be building a simple Family Cash Card application — a modern way for parents to manage allowance funds for their kiddos❤️👨‍👩‍👦👨‍👧‍👧🤑. In this course I’ll build a RESTful API for a Family Cash Card service. In doing so, I’ll learn how to use Spring Boot to build a fully-functional application. I take a project-based, test-first approach, rather than a technology-based approach

Main Advantages of TDD as tests to guide the implementation of the API

1.Guide the creation of code in order to arrive at a desired outcome 2.Tests are a powerful safety net to enforce correctness 3.If someone were to make a code change which caused this new test to fail, then I'll have caught the error before it could become an issue

Security Requirements

The user who created the Cash Card "owns" the Cash Card. Thus, they are the "card owner". Only the card owner can view or update a Cash Card.

Logic

IF the user is authenticated

... AND they are authorized as a "card owner"

... ... AND they own the requested Cash Card

THEN complete the users's request

BUT don't allow users to access Cash Cards they do not own.

About

A familiar credit card API to practice TDD and explore best practices in RESTfull web services

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages