README

===

Resolvvi Challenge - Web Client

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

Requirements

To make the project were used:

  • Rails 5.2
  • PostgreSQL
  • Rack Cors
  • Devise
  • Devise-jwt

To run locally

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!

LEIAME

===

Desafio Resolvvi - Cliente web

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

Requisitos

Para fazer o projeto foram utilizados:

  • Rails 5.2
  • PostgreSQL
  • Rack Cors
  • Devise
  • Devise-jwt

Para executar localmente

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!

ORIGINAL CREATE-NEXT-APP README

DOCUMENTO ORIGINAL DO CREATE-NEXT-APP


This is a Next.js project bootstrapped with create-next-app.

Getting Started

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.

Learn More

To learn more about Next.js, take a look at the following resources:

You can check out the Next.js GitHub repository - your feedback and contributions are welcome!

Deploy on Vercel

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.