Welcome to the Tickets Manager! This application was built with Ruby 3.2.2, Rails 7.0.6, and PostgreSQL 15. The main function of this API is to accept HTTP POST requests containing specific JSON data, persist this data into a PostgreSQL database and display the data on HTML views.
This API is deployed on render.com, and can be accessed here: https://rails-bhdq.onrender.com
The render.yaml configuration file can be found here.
- Ruby 3.2.2
- Rails 7.0.6
- PostgreSQL 15
- Leaflet.js for mapping
- Bootstrap 5 for styling
POST https://rails-bhdq.onrender.com/api/v1/tickets
: This endpoint will accept a POST request containing a JSON string and persist the provided data into the database.
These are possible improvements which are not covered by the task description but which are important enough to mention here.
- Introduce CORS
- Add token authentication or more complex authentication mechanisms
- Add response builders or serializers
- Improve request data validation