Skip to content

Latest commit

 

History

310 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MyWeekendsLeft

Build and Deploy Quality Gate Status

A service to inspire people to get busy living! Calculate how many weekends you have left and make every one count.

Tech Stack

  • API: .NET 10, ASP.NET Core Web API
  • Frontend: React 18, TypeScript, Vite, Tailwind CSS
  • Infrastructure: Azure App Service, GitHub Actions CI/CD
  • Testing: xUnit, Vitest, Playwright (E2E)

Environments

Environment API Frontend
DEV dev-myweekendsleft-api.azurewebsites.net dev-myweekendsleft-web.azurewebsites.net
UAT uat-myweekendsleft-api.azurewebsites.net uat-myweekendsleft-web.azurewebsites.net

Sample API Call

GET https://dev-myweekendsleft-api.azurewebsites.net/api/getweekends?age=45&gender=male&country=USA

Local Development

API

cd api/MWL
dotnet restore
dotnet run --project MWL.API

Frontend

cd web
npm install
npm run dev

Testing

Run API Tests

cd api/MWL
dotnet test

Run Frontend Tests

cd web
npm test              # Run once
npm run test:watch    # Watch mode
npm run test:coverage # With coverage

Run E2E Tests

cd web
npm run test:e2e

The latest E2E run against DEV publishes its full HTML report (with traces and screenshots on failure) to jjbutler74.github.io/MyWeekendsLeft, updated on every push to develop.

Features

  • Calculate remaining weekends based on life expectancy data
  • Visual dot grid showing your life in weekends
  • Dark mode support
  • Mobile responsive design
  • 50 randomized inspirational tips
  • API response caching for performance
  • Rate limiting for API protection

About

A service to inspire people to get busy living!

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages