Let us use the knowledge we gained in the previous section and create an API for the City Metro Rail project we talked about in the preceding section. The roadmap is as follows:
- Design a REST API document.
- Create models for a database.
- Implement the API logic.