This project was a technical challenge sent by Resolvvi.
The goal was to create a web client to request from an API server:
- User registration
- User authentication
- Registration of legal requests
- List of requests already registered
- Name of the lawyer available to the user at the time of the request
To make the project were used:
- Rails 5.2
- PostgreSQL
- Rack Cors
- Devise
- Devise-jwt
Create the folder and access it:
mkdir web-client
cd web-client
Copy the repository locally:
git clone 'https://github.com/jordyalcides/desafio-resolvvi-client.git'
Start the project with:
yarn dev
Go to:
http://localhost:3000
That's it, your Web Client is now running!
Esse projeto foi um desafio técnico enviado pela Resolvvi.
O objetivo era criar um cliente web para solicitar dados a uma API externa:
- Cadastro de usuários
- Autenticação de usuários
- Cadastro de pedidos de indenização
- Lista dos pedidos já cadastrados
- Nome do advogado disponível para o usuário no momento do pedido de indenização
Para fazer o projeto foram utilizados:
- Rails 5.2
- PostgreSQL
- Rack Cors
- Devise
- Devise-jwt
Crie a pasta e acesse a mesma:
mkdir web-client
cd web-client
Copie o repositório localmente:
git clone 'https://github.com/jordyalcides/desafio-resolvvi-client.git'
Inicie o banco de dados com as seeds pré-prontas:
yarn dev
Acesse a sua aplicação em:
http://localhost:3000
É isso, seu servidor API já está executando!
This is a Next.js project bootstrapped with create-next-app
.
First, run the development server:
npm run dev
# or
yarn dev
Open http://localhost:3000 with your browser to see the result.
You can start editing the page by modifying pages/index.js
. The page auto-updates as you edit the file.
API routes can be accessed on http://localhost:3000/api/hello. This endpoint can be edited in pages/api/hello.js
.
The pages/api
directory is mapped to /api/*
. Files in this directory are treated as API routes instead of React pages.
To learn more about Next.js, take a look at the following resources:
- Next.js Documentation - learn about Next.js features and API.
- Learn Next.js - an interactive Next.js tutorial.
You can check out the Next.js GitHub repository - your feedback and contributions are welcome!
The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.
Check out our Next.js deployment documentation for more details.