An open API service indexing awesome lists of open source software.

https://github.com/abrahamcalsin/random-user-api

This is an exercise of Apis consumption. For this exercise I consumed the api of api.randomuser.me
https://github.com/abrahamcalsin/random-user-api

jest randomuser-api reactjs tailwindcss typescript vitejs

Last synced: about 1 month ago
JSON representation

This is an exercise of Apis consumption. For this exercise I consumed the api of api.randomuser.me

Awesome Lists containing this project

README

          

# Random user API with api.randomuser.me

This is an exercise of Apis consumption. For this exercise I consumed the api of api.randomuser.me

## What is inside?

This project uses many tools like:

- [ReactJS](https://reactjs.org)
- [Vite](https://vitejs.dev)
- [TypeScript](https://www.typescriptlang.org)
- [Jest](https://jestjs.io)
- [Testing Library](https://testing-library.com)
- [Tailwindcss](https://tailwindcss.com)
- [Eslint](https://eslint.org)
- [Prettier](https://prettier.io)
- [RandomUser](https://api.randomuser.me)

## Getting Started

### Note

For this project I have used the template already configured with ReactJS, Vite, TypeScript, Jest, Testing Library, Tailwindcss, Eslint, Prettier, from the following repository: https://github.com/yonycalsin/reactjs-ts-vite-tailwindcss-boilerplate

### Install

Create the project.

```bash
npx degit yonycalsin/reactjs-ts-vite-tailwindcss-boilerplate my-app
```

Access the project directory.

```bash
cd my-app
```

Install dependencies.

```bash
npm install
```

Serve with hot reload at http://localhost:3000.

```bash
npm run dev
```

### Lint

```bash
npm run lint
```

### Build

```bash
npm run build
```

### Test

```bash
npm run test
```

## License

This project is licensed under the MIT License.