Repository navigation
Releases
Releases · jeff-pedro/adopet-api
v1.7.1
What's Changed
- New feature / Soft deletion by @jeff-pedro in #7
- Refactor Directories Structure by @jeff-pedro in #8
- Improve code and implement SQL Transaction by @jeff-pedro in #11
- New feature: logging support by @jeff-pedro in #14
- Add workflows for test and linter by @jeff-pedro in #15
- Refactor fix tests by @jeff-pedro in #16
Full Changelog: v1.7.0...v1.7.1
v1.7.0
Logging
Implements support for logging by storing them in local files.
- adds the mongan middleware to handle HTTP request logs.
- uses the winston library to create and set up logging, storing the log files in the
/logsdirectory.
Full Changelog: v1.3.0...v1.7.0
v1.6.0
What's Changed
- Improve code and implement SQL Transaction by @jeff-pedro in #11
Full Changelog: v1.5.0...v1.6.0
v1.5.0
v1.4.0
v1.3.0
v1.2.0
v1.1.0
Refactor MVC Layers
Reorganize the MVC layers by adding the Service layer and improving the Controller layers. #4
- creates a generic Service and Controller class that hosts the common CRUD methods;
- Implements class Inheritance in Controllers and Services for code reuse;
- rewrites controller methods in routes;
- fix integration tests.
API RESTful for Adopet website
Features
- Data persistence with SQL database;
- CRUD for Users, Pets and Shelters;
- Query result pagination;
- Allow users to adopt pets and hide the pets from the adoption list;
- Allow shelters to cancel adoptions;
- Login endpoint;
- Authentication routes via JWT;
- Authorization routes per profile;
- Automated Build and Tests via GitHub Actions.
v2.1.0-alpha
Authentication via Web Token
User login with private routes using access token.
- Creates a login system using JWT token to add security to API routes;
- Creates a middleware to check whether users are authenticated to the API;
- Stores user information in request data to be used in controllers and services;
- Adds token authorization middleware to application routes;
- Changes integration tests to suit with login implementation.
Full Changelog: v2.0.0-alpha...v2.1.0-alpha