https://github.com/jamison0902/typescript-catalogo-livro
CRUD application in React by using redux toolkit, JSON server, typescript, react router, toastify and axios.
https://github.com/jamison0902/typescript-catalogo-livro
axios bootstrap json-server node react react-router redux toastify
Last synced: 2 months ago
JSON representation
CRUD application in React by using redux toolkit, JSON server, typescript, react router, toastify and axios.
- Host: GitHub
- URL: https://github.com/jamison0902/typescript-catalogo-livro
- Owner: jamison0902
- Created: 2023-02-24T03:28:42.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-03-16T01:33:29.000Z (over 3 years ago)
- Last Synced: 2025-01-03T12:19:11.741Z (over 1 year ago)
- Topics: axios, bootstrap, json-server, node, react, react-router, redux, toastify
- Language: TypeScript
- Homepage:
- Size: 260 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Instruções para iniciar a aplicação
Um catálogo de livro usando React, Redux, JSON Server, TypeScript, React Router, Toastyfy, Axios e React-Bootstrap

# Passos
Esta aplicação utiliza o JSON server como fake backend api. Instale o pacote primeiro com o seguinte comando:
## `npm install -g json-server`
navegue até o diretório 'json-server' e execute o seguinte comando:
## `json-server -p 8000 db.json`
Este comando irá iniciar o fake backed api na port 8000
Talvez seja necessário executar o procedimento abaixo para permitir a execução do script do json-server no Windows. Execute o procedimento com permissão de administrador no console CMD.
```
Set-ExecutionPolicy RemoteSigned
get-ExecutionPolicy
```
Se o retorno for "RemoteSigned" o json-server pode ser iniciado sem problema.
Retorne ao diretório raiz e execute o seguinte comando:
## `npm install`
Após executar o comando abaixo a aplicação poderá ser visualizada no endereço http://localhost:3000/
## `npm start`