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

https://github.com/muhammadaziz01-dev/admin-dashboar

ADMIN-DASHBOAR
https://github.com/muhammadaziz01-dev/admin-dashboar

bootstrapicons css html5 javascript npm-package tailwind-css

Last synced: about 2 months ago
JSON representation

ADMIN-DASHBOAR

Awesome Lists containing this project

README

        

## Tailwind Starter

1. ``` npm init ```

2.
```
npm install -D tailwindcss

npx tailwindcss init
```

3.
index.html
```




Hello world!

```

4. styles/style.css

```

@tailwind base;
@tailwind components;
@tailwind utilities;

```

5. Configuration tailwind.config.js

tailwind.config.js

```

/** @type {import('tailwindcss').Config} */
module.exports = {
content: ["./index.html", "./pages/**/*.html/"],
theme: {
extend: {},
},
plugins: [],
}

```

6. watching pages

```
npx tailwindcss -i ./styles/index.css -o ./styles/output.css --watch

```

## API DOCS :

#### Base URL :

https://fakestoreapi.com

### AND POINT :

- FOR AUTH : /auth/login

User login
```
fetch('https://fakestoreapi.com/auth/login',{
method:'POST',
body:JSON.stringify({
username: "mor_2314",
password: "83r5^_"
})
})
.then(res=>res.json())
.then(json=>console.log(json))
```