In the project directory, you can run:
Runs the app in the development mode.
Open http://localhost:5000 to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.
Generate files for the production environment
Run tests on project components
The application's Api is in Heroku, created with Strapi and using GraphQL.
Consuming the api can be slow, since the free Heroku account is used.
API data is stored in a database in MongoDB Atlas
query getCordinacion{
ctCoordinacionRegionals{
id
name
}
}
query getReportes {
reportes {
id
descripcion
fecha_inicio
fecha_fin
porcentaje_avance
Activo
}
}
query getrepostesConection{
reportesConnection{
values{
id
descripcion
fecha_inicio
fecha_fin
porcentaje_avance
ct_tramo_carretero{
nombre
}
ct_coordinacion_regional{
name
}
}
}
}
query getrepostesConection{
reportesConnection(where:{Activo:true}){
values{
id
descripcion
fecha_inicio
fecha_fin
porcentaje_avance
Activo
ct_tramo_carretero{
nombre
}
ct_coordinacion_regional{
name
}
}
}
}
query getReportCoordination($name: String!) {
ctCoordinacionRegionals(where: { name: $name }) {
id
name
reportes {
id
descripcion
fecha_inicio
fecha_fin
porcentaje_avance
ct_tramo_carretero {
nombre
}
}
}
}
- React JS
- Ant Design
- GraphQL
- Apollo Client
- Nivo
- Styled Components
- Eslint
- Prettier
- Standart
- Husky
- JEST
- enzyme
- @wojtekmaj/enzyme-adapter-react-17