Commit Graph

23 Commits

Author SHA1 Message Date
Maxime Delporte
0874a6aac4 Adding 'Remote migration files' sub-section. 2025-11-06 10:17:12 +01:00
Maxime Delporte
6997490335 Adding 'Fixing errors in SQL migrations' sub-section. 2025-11-06 10:14:02 +01:00
Maxime Delporte
ece88f7e71 Creating 'Migrating to a specific version' and 'Executing down migrations' sub sections.
All checks were successful
Deploy Greenlight API / deploy (push) Successful in 1m0s
2025-11-03 17:57:51 +01:00
Maxime Delporte
4b42c5edfc Updating 'Executing the migrations' sub-section.
All checks were successful
Deploy Greenlight API / deploy (push) Successful in 1m16s
2025-11-03 17:39:46 +01:00
Maxime Delporte
10ea699625 Adding 'Executing the migrations' subsection into README.md. Adding log messages on deploy.yml.
All checks were successful
Deploy Greenlight API / deploy (push) Successful in 55s
2025-10-31 12:05:53 +01:00
Maxime Delporte
641f430fd4 Creating migrations files to create movies table and add movies check constraints. Updating API version number. Updating README.md adding 'SQL Migrations' section. Updating deployment file to make migrations before building API. Adding some .idea files into .gitignore.
Some checks failed
Deploy Greenlight API / deploy (push) Failing after 40s
2025-10-30 15:16:20 +01:00
Maxime Delporte
f72ad2aa2f Updating README.md adding 'Configuring the Database Connection Pool'. Updating main.go configurating the database connection pool with maxOpenConns, maxIdleConns and maxIdleTime values. 2025-10-30 12:13:55 +01:00
Maxime Delporte
84741de60e Adding 'Optimizing PostgreSQL settings' sub-section.
All checks were successful
Deploy Greenlight API / deploy (push) Successful in 54s
2025-10-28 16:29:42 +01:00
Maxime Delporte
c3fdb40ae4 Adding more context for invalidUnmarshalError management inside readJSON function. Updating 'Panicking vs returning errors' section.
All checks were successful
Deploy Greenlight API / deploy (push) Successful in 54s
2025-10-25 09:57:41 +02:00
Maxime Delporte
6d09a4f545 Adding 'Panicking vs returning errors' section
All checks were successful
Deploy Greenlight API / deploy (push) Successful in 55s
2025-10-25 09:52:57 +02:00
Maxime Delporte
b3502631c2 Creating 'Supported destinations types' and 'Triaging the Decode error' sections.
Some checks are pending
Deploy Greenlight API / deploy (push) Has started running
2025-10-24 14:27:06 +02:00
Maxime Delporte
e30eac9c4d Updating README.md adding 'System-generated error responses' and 'Panic recovery in other goroutines' sections.
All checks were successful
Deploy Greenlight API / deploy (push) Successful in 59s
2025-10-23 17:16:25 +02:00
Maxime Delporte
cc588a1dc0 Adding 'Advanced JSON Customization' section in the README.md. Creating a runtime type (internal/data/runtime.go) to show how we can customize a JSON field.
All checks were successful
Deploy Greenlight API / deploy (push) Successful in 56s
2025-10-21 16:26:06 +02:00
Maxime Delporte
43612c90e0 Updating README typo. 2025-10-19 11:50:17 +02:00
Maxime Delporte
d2e38e75ac Updating README typo. 2025-10-19 11:49:51 +02:00
Maxime Delporte
1927c64047 Creating an envelope struct type inside our helpers file to update our writeJSON data type method's parameter. Updating healthcheckHandler and showMovieHandler with this new type to update our responses. 2025-10-19 11:47:25 +02:00
Maxime Delporte
d7ccef3713 Updating writeJSON helper method replacing json.Marshal() by json.MarshalIndent() method to improve responses readability. Updating README adding Performance sub-section. 2025-10-19 11:34:42 +02:00
Maxime Delporte
1b886109be Updating README.md with Additional Information section. 2025-10-12 20:34:59 +02:00
Maxime Delporte
4342a8df0d README.md : Fix typo. 2025-10-10 15:48:43 +02:00
Maxime Delporte
7e1a0ac66a README.md : Adding API versioning section. 2025-10-10 15:35:05 +02:00
Maxime Delporte
b0ed205fdb Update README.md : adding Endpoints section. 2025-10-10 14:36:02 +02:00
Maxime Delporte
8c0de92c43 Updating README with API initialisation and tips. 2025-10-10 11:13:06 +02:00
Maxime Delporte
a90b5305af First commit 2025-10-09 11:08:21 +02:00