Study of a complete application, with a SPA (Angular) and an API (Symfony), which allows users to connect, and to be able, according to their rights, to import Excel data and modify them online.
Excel Editor SPA |
|
Excel Editor API |
|
Excel Editor Insomnia |
-
Be sure to install the latest version of Insomnia.
-
Fork https://github.com/jprivet-dev/excel-editor-insomnia.git.
-
Clone the project in Insomnia:
-
Choose the DEBUG tab:
-
Choose Admin environment:
💡You can use Admin or User environment. -
Click & Deploy Authentication folder, choose login_check request and click on Send button. You can retrieve a token:
⚠️ The very first time, you will have the following error:
Error: SSL peer certificate or SSH remote key was not OK
Click on Disable SSL Validation button and in Insomnia Preferences, uncheck Validate certificates.
Close the dialog and click again on Send button.
-
Click & Deploy User folder, choose user request and click on Send button. You have the user attached to the token:
-
Click on the Personal Projects button to see the homepage with all projects:
In the Upload folder, you can test the requests and upload the Excel files in the data folder of the Excel Editor API:
Feel free to make comments/suggestions to me in the Git issues section.