https://github.com/uppercod/react-technical-test
In this repository I solve a react technical test, the objective is to create a CRUD system with an authentication, all the backend is simulated
https://github.com/uppercod/react-technical-test
Last synced: about 1 year ago
JSON representation
In this repository I solve a react technical test, the objective is to create a CRUD system with an authentication, all the backend is simulated
- Host: GitHub
- URL: https://github.com/uppercod/react-technical-test
- Owner: UpperCod
- Created: 2022-03-15T15:03:54.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-03-15T21:14:33.000Z (over 4 years ago)
- Last Synced: 2024-12-23T22:26:56.495Z (over 1 year ago)
- Language: TypeScript
- Homepage: https://goofy-bose-5f5fdc.netlify.app/
- Size: 20.2 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Ejercicio
En este ejercicio he usado React + Typescript, a nivel de componentes no he usado librerías de terceros, para asi practicar el uso de customHooks y componentes con gestión de lógica.
El proyecto a nivel de Despliegue usa [Netlify](https://www.netlify.com/), a travez de este servicio he implementado:
1. Un sistema de login dummy usando el producto functions de Netlify, con este he simulado una respuesta http al formulario de login, la respuesta de este login es un token JWT que sera adjunto a los futuros request.
2. Un sistema CRUD dummy usando el servicio [mockapi.io](https://mockapi.io/), con este he simulado las interacciones CRUD asociadas a la vista panel.
Todo ha sido empaquetado a travez de [Vite](https://vitejs.dev/).
## Despliegue
### Local
```bash
## Instalar dependecias
npm i
## netlify login ( https://docs.netlify.com/cli/get-started/ )
npx netlify login
## Entorno de desarrollo
npm run netlify:dev
```
### Producción
Asociar el repositorio a Netlify y listo
## Todo
1. [ ] Asociar test.
2. [x] Cachear el token para una mejor experiencia de autentificación.