API Tutorial (Java) - Part 37: Zip Packaging
Building an API to sell on the RapidAPI marketplace. Using "enterprise" tools and technologies (Github, Java 17, IntelliJ, Maven, Jetty, JAX-RS, Jersey, AWS, RHEL). Provides all the details on how to start a project from scratch and build it into a fully functional and secure system, complete with OpenAPI documentation, running on Amazon AWS and available in the RapidAPI marketplace, easily managed and updated with zero down-time for best accessibility and experience for customers.
Part 37 uses the Maven Assembly plugin to create a zip package containing the server dependency jars, web files, and logback configuration.
Source code: https://github.com/apiburn/tutorialapi
Comment below or send an email to support@apiburn.com.
Provide support via Patreon: https://www.patreon.com/apiburn
Part 36 - Config Reloading: https://youtu.be/l3yZefgmaHs
Part 38 - RPM Packaging: Coming Soon!
9
views
API Tutorial (Java) - Part 36: Config Reloading
Building an API to sell on the RapidAPI marketplace. Using "enterprise" tools and technologies (Github, Java 17, IntelliJ, Maven, Jetty, JAX-RS, Jersey, AWS, RHEL). Provides all the details on how to start a project from scratch and build it into a fully functional and secure system, complete with OpenAPI documentation, running on Amazon AWS and available in the RapidAPI marketplace, easily managed and updated with zero down-time for best accessibility and experience for customers.
Part 36 implements support for dynamically reloading the system configuration properties from GitHub asynchronously as a background task.
Source code: https://github.com/apiburn/tutorialapi
Comment below or send an email to support@apiburn.com.
Provide support via Patreon: https://www.patreon.com/apiburn
Part 35 - Memory Logging: https://youtu.be/sgDD24QS3qM
Part 37 - Coming Soon!
5
views
API Tutorial (Java) - Part 35: Memory Logging
Building an API to sell on the RapidAPI marketplace. Using "enterprise" tools and technologies (Github, Java 17, IntelliJ, Maven, Jetty, JAX-RS, Jersey, AWS, RHEL). Provides all the details on how to start a project from scratch and build it into a fully functional and secure system, complete with OpenAPI documentation, running on Amazon AWS and available in the RapidAPI marketplace, easily managed and updated with zero down-time for best accessibility and experience for customers.
Part 35 implements support for a background task that logs server memory usage at a scheduled interval.
Source code: https://github.com/apiburn/tutorialapi
Comment below or send an email to support@apiburn.com.
Provide support via Patreon: https://www.patreon.com/apiburn
Part 34 - API Keys: https://youtu.be/MLY3B8VAA10
Part 36 - Config Reloading: https://youtu.be/l3yZefgmaHs
2
views
API Tutorial (Java) - Part 34: API Keys
Building an API to sell on the RapidAPI marketplace. Using "enterprise" tools and technologies (Github, Java 17, IntelliJ, Maven, Jetty, JAX-RS, Jersey, AWS, RHEL). Provides all the details on how to start a project from scratch and build it into a fully functional and secure system, complete with OpenAPI documentation, running on Amazon AWS and available in the RapidAPI marketplace, easily managed and updated with zero down-time for best accessibility and experience for customers.
Part 34 continues implementing support for local API keys to access the API directly without going through RapidAPI.
Source code: https://github.com/apiburn/tutorialapi
Comment below or send an email to support@apiburn.com.
Provide support via Patreon: https://www.patreon.com/apiburn
Part 33 - Security Updates: https://youtu.be/93L8yI6KS6s
Part 35 - TODO
42
views
API Tutorial (Java) - Part 33: Security Updates
Building an API to sell on the RapidAPI marketplace. Using "enterprise" tools and technologies (Github, Java 17, IntelliJ, Maven, Jetty, JAX-RS, Jersey, AWS, RHEL). Provides all the details on how to start a project from scratch and build it into a fully functional and secure system, complete with OpenAPI documentation, running on Amazon AWS and available in the RapidAPI marketplace, easily managed and updated with zero down-time for best accessibility and experience for customers.
Part 33 updates the security filter to verify the provided proxy secret is correct, and begins implementing support for direct access to the API using API keys from the database.
Source code: https://github.com/apiburn/tutorialapi
Comment below or send an email to support@apiburn.com.
Provide support via Patreon: https://www.patreon.com/apiburn
Part 32 - OpenAPI Annotations: https://youtu.be/93L8yI6KS6s
Part 34 - API Keys: https://youtu.be/MLY3B8VAA10
35
views
API Tutorial (Java) - Part 32: OpenAPI Annotations
Building an API to sell on the RapidAPI marketplace. Using "enterprise" tools and technologies (Github, Java 17, IntelliJ, Maven, Jetty, JAX-RS, Jersey, AWS, RHEL). Provides all the details on how to start a project from scratch and build it into a fully functional and secure system, complete with OpenAPI documentation, running on Amazon AWS and available in the RapidAPI marketplace, easily managed and updated with zero down-time for best accessibility and experience for customers.
Part 32 begins adding OpenAPI/Swagger annotations onto all the REST endpoints available in the API to allow for the OpenAPI JSON/YAML descriptor to be automatically generated.
Source code: https://github.com/apiburn/tutorialapi
Comment below or send an email to support@apiburn.com.
Provide support via Patreon: https://www.patreon.com/apiburn
Part 31 - OpenAPI Setup: https://youtu.be/OkKo3sj0z0g
Part 33 - Security Updates: https://youtu.be/DukI9afxv5k
36
views
API Tutorial (Java) - Part 31: OpenAPI Setup
Building an API to sell on the RapidAPI marketplace. Using "enterprise" tools and technologies (Github, Java 17, IntelliJ, Maven, Jetty, JAX-RS, Jersey, AWS, RHEL). Provides all the details on how to start a project from scratch and build it into a fully functional and secure system, complete with OpenAPI documentation, running on Amazon AWS and available in the RapidAPI marketplace, easily managed and updated with zero down-time for best accessibility and experience for customers.
Part 31 adds some initial support for dynamically generating an OpenAPI JSON/YAML file to describe the REST endpoints available in our API.
Source code: https://github.com/apiburn/tutorialapi
Comment below or send an email to support@apiburn.com.
Provide support via Patreon: https://www.patreon.com/apiburn
Part 30 - Object Validation: https://youtu.be/Nu7x3r30uxQ
Part 32 - TODO
11
views
API Tutorial (Java) - Part 30: Object Validation
Building an API to sell on the RapidAPI marketplace. Using "enterprise" tools and technologies (Github, Java 17, IntelliJ, Maven, Jetty, JAX-RS, Jersey, AWS, RHEL). Provides all the details on how to start a project from scratch and build it into a fully functional and secure system, complete with OpenAPI documentation, running on Amazon AWS and available in the RapidAPI marketplace, easily managed and updated with zero down-time for best accessibility and experience for customers.
Part 30 leverages the Validation API to validate user-provided objects to keep the system secure and to prevent database problems.
Source code: https://github.com/apiburn/tutorialapi
Comment below or send an email to support@apiburn.com.
Provide support via Patreon: https://www.patreon.com/apiburn
Part 29 - REST Integration Tests: https://youtu.be/yTRT6ffRrT4
Part 31 - OpenAPI Setup: https://youtu.be/OkKo3sj0z0g
20
views
API Tutorial (Java) - Part 29: REST Integration Tests
Building an API to sell on the RapidAPI marketplace. Using "enterprise" tools and technologies (Github, Java 17, IntelliJ, Maven, Jetty, JAX-RS, Jersey, AWS, RHEL). Provides all the details on how to start a project from scratch and build it into a fully functional and secure system, complete with OpenAPI documentation, running on Amazon AWS and available in the RapidAPI marketplace, easily managed and updated with zero down-time for best accessibility and experience for customers.
Part 29 implements more integration tests to verify the functionality of the created REST endpoints.
Source code: https://github.com/apiburn/tutorialapi
Comment below or send an email to support@apiburn.com.
Provide support via Patreon: https://www.patreon.com/apiburn
Part 28 - More REST Endpoints: https://youtu.be/T1PKBcwYNQ8
Part 30 - Object Validation: https://youtu.be/Nu7x3r30uxQ
12
views
API Tutorial (Java) - Part 28: More REST Endpoints
Building an API to sell on the RapidAPI marketplace. Using "enterprise" tools and technologies (Github, Java 17, IntelliJ, Maven, Jetty, JAX-RS, Jersey, AWS, RHEL). Provides all the details on how to start a project from scratch and build it into a fully functional and secure system, complete with OpenAPI documentation, running on Amazon AWS and available in the RapidAPI marketplace, easily managed and updated with zero down-time for best accessibility and experience for customers.
Part 28 creates all the REST endpoints for managing Todo List Items, in the same way as the Todo List REST endpoints were created.
Source code: https://github.com/apiburn/tutorialapi
Comment below or send an email to support@apiburn.com.
Provide support via Patreon: https://www.patreon.com/apiburn
Part 27 - REST Endpoints: https://youtu.be/Lvk5CjVSRA0
Part 29 - TODO
6
views
API Tutorial (Java) - Part 27: REST Endpoints
Building an API to sell on the RapidAPI marketplace. Using "enterprise" tools and technologies (Github, Java 17, IntelliJ, Maven, Jetty, JAX-RS, Jersey, AWS, RHEL). Provides all the details on how to start a project from scratch and build it into a fully functional and secure system, complete with OpenAPI documentation, running on Amazon AWS and available in the RapidAPI marketplace, easily managed and updated with zero down-time for best accessibility and experience for customers.
Part 27 creates all the REST endpoints for managing Todo Lists, using the ServiceFactory available through Dependency Injection to communicate with the database.
Source code: https://github.com/apiburn/tutorialapi
Comment below or send an email to support@apiburn.com.
Provide support via Patreon: https://www.patreon.com/apiburn
Part 26 - Database Config: https://youtu.be/MXRUePspMD4
Part 28 - TODO
9
views
API Tutorial (Java) - Part 26: Database Config
Building an API to sell on the RapidAPI marketplace. Using "enterprise" tools and technologies (Github, Java 17, IntelliJ, Maven, Jetty, JAX-RS, Jersey, AWS, RHEL). Provides all the details on how to start a project from scratch and build it into a fully functional and secure system, complete with OpenAPI documentation, running on Amazon AWS and available in the RapidAPI marketplace, easily managed and updated with zero down-time for best accessibility and experience for customers.
Part 26 implements support for configuring the database connection and providing access to the database in the REST application.
Source code: https://github.com/apiburn/tutorialapi
Comment below or send an email to support@apiburn.com.
Provide support via Patreon: https://www.patreon.com/apiburn
Part 25 - Database Tests: https://youtu.be/w8XSWsI37nE
Part 27 - TODO
13
views
API Tutorial (Java) - Part 24: Database SQL
Building an API to sell on the RapidAPI marketplace. Using "enterprise" tools and technologies (Github, Java 17, IntelliJ, Maven, Jetty, JAX-RS, Jersey, AWS, RHEL). Provides all the details on how to start a project from scratch and build it into a fully functional and secure system, complete with OpenAPI documentation, running on Amazon AWS and available in the RapidAPI marketplace, easily managed and updated with zero down-time for best accessibility and experience for customers.
Part 24 continues database implementation by using JDBC to implement create, read, update, and delete (CRUD) operations with SQL.
Source code: https://github.com/apiburn/tutorialapi
Comment below or send an email to support@apiburn.com.
Provide support via Patreon: https://www.patreon.com/apiburn
Part 23 - More Database Setup: https://youtu.be/Y0J3AIcWYRo
Part 25 - Database Tests: https://youtu.be/w8XSWsI37nE
16
views
API Tutorial (Java) - Part 25: Database Tests
Building an API to sell on the RapidAPI marketplace. Using "enterprise" tools and technologies (Github, Java 17, IntelliJ, Maven, Jetty, JAX-RS, Jersey, AWS, RHEL). Provides all the details on how to start a project from scratch and build it into a fully functional and secure system, complete with OpenAPI documentation, running on Amazon AWS and available in the RapidAPI marketplace, easily managed and updated with zero down-time for best accessibility and experience for customers.
Part 25 implements a suite of integration tests to verify the behavior of the JDBC database code.
Source code: https://github.com/apiburn/tutorialapi
Comment below or send an email to support@apiburn.com.
Provide support via Patreon: https://www.patreon.com/apiburn
Part 24 - Database SQL: https://youtu.be/mLe0PP8Dijg
Part 26 - Database Config: https://youtu.be/MXRUePspMD4
16
views
API Tutorial (Java) - Part 23: More Database Setup
Building an API to sell on the RapidAPI marketplace. Using "enterprise" tools and technologies (Github, Java 17, IntelliJ, Maven, Jetty, JAX-RS, Jersey, AWS, RHEL). Provides all the details on how to start a project from scratch and build it into a fully functional and secure system, complete with OpenAPI documentation, running on Amazon AWS and available in the RapidAPI marketplace, easily managed and updated with zero down-time for best accessibility and experience for customers.
Part 23 continues database setup by adding support for integration testing, Flyway for database migrations, and an initial database schema.
Source code: https://github.com/apiburn/tutorialapi
Comment below or send an email to support@apiburn.com.
Provide support via Patreon: https://www.patreon.com/apiburn
Part 22 - Database Setup: https://youtu.be/WvwwccirunE
Part 24 - Database SQL: https://youtu.be/mLe0PP8Dijg
15
views
API Tutorial (Java) - Part 22: Database Setup
Building an API to sell on the RapidAPI marketplace. Using "enterprise" tools and technologies (Github, Java 17, IntelliJ, Maven, Jetty, JAX-RS, Jersey, AWS, RHEL). Provides all the details on how to start a project from scratch and build it into a fully functional and secure system, complete with OpenAPI documentation, running on Amazon AWS and available in the RapidAPI marketplace, easily managed and updated with zero down-time for best accessibility and experience for customers.
Part 22 starts adding support for database connectivity, including adding database dependencies and starting a database Maven module with some initial interfaces.
Source code: https://github.com/apiburn/tutorialapi
Comment below or send an email to support@apiburn.com.
Provide support via Patreon: https://www.patreon.com/apiburn
Part 21 - Error Responses: https://youtu.be/x5E-jLM0doo
Part 23 - More Database Setup: https://youtu.be/Y0J3AIcWYRo
13
views
API Tutorial (Java) - Part 21: Error Responses
Building an API to sell on the RapidAPI marketplace. Using "enterprise" tools and technologies (Github, Java 17, IntelliJ, Maven, Jetty, JAX-RS, Jersey, AWS, RHEL). Provides all the details on how to start a project from scratch and build it into a fully functional and secure system, complete with OpenAPI documentation, running on Amazon AWS and available in the RapidAPI marketplace, easily managed and updated with zero down-time for best accessibility and experience for customers.
Part 21 adds support for sending JSON-formatted error responses back to the client for invalid REST calls.
Source code: https://github.com/apiburn/tutorialapi
Comment below or send an email to support@apiburn.com.
Provide support via Patreon: https://www.patreon.com/apiburn
Part 20 - Integration Tests: https://youtu.be/XipgmUv4oyg
Part 22 - Database Setup: https://youtu.be/WvwwccirunE
18
views
API Tutorial (Java) - Part 20: Integration Tests
Building an API to sell on the RapidAPI marketplace. Using "enterprise" tools and technologies (Github, Java 17, IntelliJ, Maven, Jetty, JAX-RS, Jersey, AWS, RHEL). Provides all the details on how to start a project from scratch and build it into a fully functional and secure system, complete with OpenAPI documentation, running on Amazon AWS and available in the RapidAPI marketplace, easily managed and updated with zero down-time for best accessibility and experience for customers.
Part 20 describes the differences between unit and integration tests, and refactors some code to support integration testing.
Source code: https://github.com/apiburn/tutorialapi
Comment below or send an email to support@apiburn.com.
Provide support via Patreon: https://www.patreon.com/apiburn
Part 19 - Tests with Mocks: https://youtu.be/TGennbBkSPQ
Part 21 - Error Responses: https://youtu.be/x5E-jLM0doo
17
views
API Tutorial (Java) - Part 19: Tests with Mocks
Building an API to sell on the RapidAPI marketplace. Using "enterprise" tools and technologies (Github, Java 17, IntelliJ, Maven, Jetty, JAX-RS, Jersey, AWS, RHEL). Provides all the details on how to start a project from scratch and build it into a fully functional and secure system, complete with OpenAPI documentation, running on Amazon AWS and available in the RapidAPI marketplace, easily managed and updated with zero down-time for best accessibility and experience for customers.
Part 19 adds additional tests and incorporates Mockito for mocking out some objects in the tests.
Source code: https://github.com/apiburn/tutorialapi
Comment below or send an email to support@apiburn.com.
Provide support via Patreon: https://www.patreon.com/apiburn
Part 18 - RapidAPI Security: https://youtu.be/V6pIpkOz8hg
Part 20 - Integration Tests: https://youtu.be/XipgmUv4oyg
37
views
API Tutorial (Java) - Part 18: RapidAPI Security
Building an API to sell on the RapidAPI marketplace. Using "enterprise" tools and technologies (Github, Java 17, IntelliJ, Maven, Jetty, JAX-RS, Jersey, AWS, RHEL). Provides all the details on how to start a project from scratch and build it into a fully functional and secure system, complete with OpenAPI documentation, running on Amazon AWS and available in the RapidAPI marketplace, easily managed and updated with zero down-time for best accessibility and experience for customers.
Part 18 creates a security filter to check for the required RapidAPI request headers.
Source code: https://github.com/apiburn/tutorialapi
Comment below or send an email to support@apiburn.com.
Provide support via Patreon: https://www.patreon.com/apiburn
Part 17 - Access Log and CORS Filter: https://youtu.be/80OTZWBGR8k
Part 19 - Tests with Mocks: https://youtu.be/TGennbBkSPQ
10
views
API Tutorial (Java) - Part 17: Access Log and CORS Filter
Building an API to sell on the RapidAPI marketplace. Using "enterprise" tools and technologies (Github, Java 17, IntelliJ, Maven, Jetty, JAX-RS, Jersey, AWS, RHEL). Provides all the details on how to start a project from scratch and build it into a fully functional and secure system, complete with OpenAPI documentation, running on Amazon AWS and available in the RapidAPI marketplace, easily managed and updated with zero down-time for best accessibility and experience for customers.
Part 17 adds a security filter to log access to the REST endpoints, and a CORS filter to add cross-origin headers into server responses.
Source code: https://github.com/apiburn/tutorialapi
Comment below or send an email to support@apiburn.com.
Provide support via Patreon: https://www.patreon.com/apiburn
Part 16 - JAX-RS Testing: https://youtu.be/Dajr0Xs5M2w
Part 18 - RapidAPI Security: https://youtu.be/V6pIpkOz8hg
6
views
API Tutorial (Java) - Part 16: Jersey/JAX-RS Testing
Building an API to sell on the RapidAPI marketplace. Using "enterprise" tools and technologies (Github, Java 17, IntelliJ, Maven, Jetty, JAX-RS, Jersey, AWS, RHEL). Provides all the details on how to start a project from scratch and build it into a fully functional and secure system, complete with OpenAPI documentation, running on Amazon AWS and available in the RapidAPI marketplace, easily managed and updated with zero down-time for best accessibility and experience for customers.
Part 16 begins the process for adding JUnit tests for Jersey/JAX-RS REST endpoints.
Source code: https://github.com/apiburn/tutorialapi
Comment below or send an email to support@apiburn.com.
Provide support via Patreon: https://www.patreon.com/apiburn
Part 15 - JUnit Setup: https://youtu.be/mulWY3ou7vg
Part 16 - TODO
7
views
API Tutorial (Java) - Part 15: JUnit Setup
Building an API to sell on the RapidAPI marketplace. Using "enterprise" tools and technologies (Github, Java 17, IntelliJ, Maven, Jetty, JAX-RS, Jersey, AWS, RHEL). Provides all the details on how to start a project from scratch and build it into a fully functional and secure system, complete with OpenAPI documentation, running on Amazon AWS and available in the RapidAPI marketplace, easily managed and updated with zero down-time for best accessibility and experience for customers.
Part 15 fixes some PMD issues and then adds some initial JUnit tests.
Source code: https://github.com/apiburn/tutorialapi
Comment below or send an email to support@apiburn.com.
Provide support via Patreon: https://www.patreon.com/apiburn
Part 14 - Config Enums: https://youtu.be/0724h-toGRc
Part 16 - Jersey/JAX-RS Testing: https://youtu.be/Dajr0Xs5M2w
10
views
API Tutorial (Java) - Part 14: Config Enums
Building an API to sell on the RapidAPI marketplace. Using "enterprise" tools and technologies (Github, Java 17, IntelliJ, Maven, Jetty, JAX-RS, Jersey, AWS, RHEL). Provides all the details on how to start a project from scratch and build it into a fully functional and secure system, complete with OpenAPI documentation, running on Amazon AWS and available in the RapidAPI marketplace, easily managed and updated with zero down-time for best accessibility and experience for customers.
Part 14 adds Java Enums to remove our "magic strings" used for configuration keys, and does some additional cleanup in the server code.
Source code: https://github.com/apiburn/tutorialapi
Comment below or send an email to support@apiburn.com.
Provide support via Patreon: https://www.patreon.com/apiburn
Part 13 - System Config: https://youtu.be/omJxBUM44hk
Part 15 - JUnit Setup: https://youtu.be/mulWY3ou7vg
6
views
API Tutorial (Java) - Part 13: System Config
Building an API to sell on the RapidAPI marketplace. Using "enterprise" tools and technologies (Github, Java 17, IntelliJ, Maven, Jetty, JAX-RS, Jersey, AWS, RHEL). Provides all the details on how to start a project from scratch and build it into a fully functional and secure system, complete with OpenAPI documentation, running on Amazon AWS and available in the RapidAPI marketplace, easily managed and updated with zero down-time for best accessibility and experience for customers.
Part 13 provides more details about system configuration options and begins the process for adding code to use property files in GitHub for our server configuration.
Source code: https://github.com/apiburn/tutorialapi
Comment below or send an email to support@apiburn.com.
Provide support via Patreon: https://www.patreon.com/apiburn
Part 12 - Dependency Injection and Port Config: https://youtu.be/LL64H6QjFYA
Part 14 - Config Enums: https://youtu.be/0724h-toGRc
12
views