Skip to content

A small .NET Core API designed to be bad enough to make you want to refactor it.

Notifications You must be signed in to change notification settings

devonwhale/RefactorableApi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

RefactorableApi

A small .NET Core API designed to be bad enough to make you want to refactor it.

Assumptions you can make

  • Anything (class, method, whatever) starting with Spoof is there instead of something that would require more setup (database, external Api, ect.). You can assume it works as intended.
  • A basket will always exist for a user. They do not need to create one (and cannot, but that is neither here nor there).
  • There is a level of abstraction between this code and the front end. This takes an identifyer and gathers the complete object to pass into this application (so for example, this level would be what gets the Item object from the id to pass into the application)

Cheat phrases

Basket Id

  • DBDead or 1122 - Error connecting to the Database.
  • NFound or 2211 - Coouldn't find the basket.

Item Id

  • ItemNotInBasket or 1221 - Can't find the specified item in that basket.

About

A small .NET Core API designed to be bad enough to make you want to refactor it.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages