Skip to content
<ali />
← / projects

/*work*/

Activity Tracker — API

// backend / api

github →

Built a RESTful fitness and activity tracking backend API using Express.js and SQLite, focused on managing workouts, weight tracking, daily goals, and user profile data.

The project implements a structured backend architecture with separated routes, controllers, models, authentication middleware, and API documentation. Features include secure user authentication, workout and weight CRUD operations, daily goal and progress tracking, request validation using Joi, and interactive API documentation via Swagger UI.

  • Designed and implemented REST API endpoints for workouts, weight history, profiles, and user management
  • Built server-side validation and error handling for incoming requests
  • Integrated authentication middleware for protected routes and user-specific data access
  • Structured the backend using MVC-style separation of concerns
  • Implemented persistent data storage with SQLite
  • Added API logging, CORS support, and JSON request handling
  • Created interactive API documentation accessible through /docs
  • Added database reset/wipe utilities and development tooling with Nodemon and Mocha
//stack
Node.jsExpress.jsSQLite3JoiSwagger/OpenAPIMochaMorganCORS