This REST Client project aims to develop a light-weight versions of Postman. Key pages of the application include:
- Authorization and Registration pages 🖥️
- Main page 🏠
- REST Client page 📋
- Variables
- History
The project is being developed as the final task of the RS school's JS / React course. Its main goals are:
- consolidation of the knowledges gained during this course and,
- improvement of teamwork skills.
Our team:
- HTML
- TailwindCss
- TypeScript
- Webpack
- React
- Next JS
- Vitest
- Firebase
Install dependencies:
npm installRun the development server:
npm run devOpen http://localhost:3000 with your browser to see the result.
npm run buildCompiles the application for production deployment. It optimizes the app for the best performance.
npm run startStarts the server in production mode. Must be used after building the app.
npm run lintRuns ESLint to find and fix problems in your JavaScript and TypeScript files within the app/ directory.
npm run prettier:fixRuns Prettier to format code.
npm run testExecutes the test suites of the application using Vitest.
npm run test:coverageExecutes the test coverage.
##### endpoint url:
https://rickandmortyapi.com/api/character
##### headers (optional)
Content-Type: application/json
##### queries (optional)
key: name
value: Rick
##### endpoint url:
https://jsonplaceholder.typicode.com/posts
##### body:
{
"title": "foo",
"body": "bar",
"userId": 1
}
##### headers
Content-Type: application/json
##### endpoint url:
https://jsonplaceholder.typicode.com/posts/1
##### body:
{
"id": 1,
"title": "UPDATED Title Example",
"body": "This is the updated body content.",
"userId": 1
}
##### headers
Content-Type: application/json
##### endpoint url:
URL: {{baseUrl}}/posts/{{postId}}
##### Variables
key: baseUr value: https://jsonplaceholder.typicode.com
key: postId value: 2
##### headers
Content-Type: application/json