✌
Introducción
Qué aprenderás sobre API con Sails.js
Presentando el proyecto
Comenzando con Sails
Introducción a Sails.js
Estructura de archivos
Preparación del ambiente de desarrollo
Setup de Espacio de Trabajo
Generando rutas REST con blueprint
Instalación de MongoDB
Conexión a Mongo
Instalar MySQL y usarlo con Sails (a través de WaterLine)
CRUD
Entendiendo operaciones CRUD
Crear modelo de rodada
Crear app de Ionic
Obtener todas las Rodadas: preparando la aplicación para mostrar datos
Obtener todas las Rodadas: mostrando los datos
Crear Rodada: recibiendo parámetros desde la URL
Crear Rodada: enviando información desde el formulario
Actualizar Rodada
Eliminar Rodadas
Autenticación y Usuarios
Obtener Rodada
Crear Modelo y Controller de Usuarios
Implementar validación de modelo
Nueva versión de la librería Joi
Crear Usuario
Cifrado de contraseña
Implementación de Login
Sistemas Externos
Uso de JSON Web Token
Policies: verificar si usuario está loggeado
Agregar usuario a Ride
Preparando la App para implementar el Login y Sign up
Implementando Login
Implementando Sign up
Agregar puntos de Rodada
Obtener API Keys para Clima y Distancias
Integración Google Geocoding: definiendo la lógica
Integración Google Geocoding: probando la funcionalidad
Integración Weather API
Desplegar clima, distancia y tiempo en cada punto de Rodada
Cierre
Cierre
You don't have access to this class
Keep learning! Join and start boosting your career
Developing a cycling app requires not only good design, but also the integration of valuable data such as weather, distance and ride time. Integrating these features effectively will not only enrich the user experience, but also provide valuable instructions on how to improve the bike.
To integrate these features into your app, you first need to get the data through APIs. Here are the keys to incorporate both weather and distance and time into your app:
Weather: Integrated through OpenWeather, this API provides the current, maximum and minimum temperature in degrees Celsius.
Distance and time: Using the Google API to get accurate distance measurements.
<ul>
<li><strong>{leg.start_address}</strong> ➝ <strong>{leg.end_address}</strong></li>
<p>{leg.distance.text} | {leg.duration.text}</p>
<p><strong>Currenttemperature:</strong> {leg.temp.txt} °C</p>
<p><strong>Min:</strong> {leg.temp_min} °C | <strong>Max:</strong> {leg.temp_max}°C</p>
</ul>
One enriching aspect of an application's user experience is customization. You can do this by changing the representative images of the start or destination location of the shoot.
Implementing continuous improvements to an application is key to developing a robust product. Here are some tips to optimize this type of projects:
Trial and error: Don't be afraid to modify and experiment with the code. It is one of the best ways to learn.
Collaboration and community: Use forums and communities, such as the course comment box, where both the instructor and other students can help.
Explore additional APIs: Research other APIs that can enrich the data obtained, such as maps, more detailed forecasts or even alternative route recommendations.
Incorporate this data to improve the application and its functionality, thus achieving a more attractive and complete product for users. Don't forget that the development process is a continuous opportunity to learn and expand your programming skills.
Contributions 2
Questions 0
✌
☘
Want to see more contributions, questions and answers from the community?