ReactJS/MaterialUI based UI frontend for faker-file-api REST API.
- Running faker-file-api REST API service.
- NodeJS
npm install
npm start
Three column design:
| File type | Options | Result |
| --------------------- | --------------------- | --------------------- |
| - bin | basename ____________ | -> Download |
| - csv | prefix ______________ | |
| -> docx | max_nb_chars ________ | |
| - eml | wrap_chars_after ____ | |
| - epub | content _____________ | |
| - epub | | |
| - generic | | |
| - ico | -> Generate | |
| - jpeg | | |
| - mp3 | | |
| - odp | | |
| - ods | | |
| - odt | | |
| - pdf | | |
| - png | | |
| - pptx | | |
| - rtf | | |
| - svg | | |
| - tar | | |
| - txt | | |
| - xlsx | | |
| - xml | | |
| - zip | | |
Step 1: Choose File type
- File type
Step 2: Fine tune the Options (specific for each File type)
- All options of faker-file are be supported, except for a very specific
ones, such as
storage
.
Step 3: Generate file
- Clicking on
Generate
button, should generate the file and renderDownload
link in theResult
column.
BIN
CSV
DOCX
EML
EPUB
ICO
JPEG
MP3
ODS
ODT
ODP
PDF
PNG
RTF
PPTX
SVG
TAR
TXT
XLSX
XML
ZIP
Keep the following hierarchy.
=====
title
=====
header
======
sub-header
----------
sub-sub-header
~~~~~~~~~~~~~~
sub-sub-sub-header
^^^^^^^^^^^^^^^^^^
sub-sub-sub-sub-header
++++++++++++++++++++++
sub-sub-sub-sub-sub-header
**************************
Run all tests:
npx cypress open
Run all tests in headless mode:
npx cypress run --headless
Run all tests:
npm run cy:test
Run all tests in headless mode:
npm run cy:test-headless
MIT
For security issues contact me at the e-mail given in the Author section.
For overall issues, go to GitHub.
Artur Barseghyan <artur.barseghyan@gmail.com>