Technologies | Project | Installing |
This project was developed using the following technologies:
- [JavaScript]
- [HTML5]
- [CSS3]
- [Bootsrap]
- [Axios]
This project was developed as a job test for ammo.varejo, with the requirement of developing the front-end and back-end environment for an e-commerce website.
To run the project on your machine/device, the following resources need to be installed:
To make a copy of this project on your machine, use the following command in the desired folder through your system's prompt/command terminal:
git clone https://github.com/psergiojrr/QueroSerDev
To install Node, run the following command in the terminal:
npm install
To use the live-server extension:
Just press the Ctrl+Shift+X command in Visual Studio Code and select the 'Live Server' extension by 'Ritwick Dey'.
The database used in this project was MySQL Workbench. With Workbench installed, follow the steps below to import the server:
1- With MySQL open, log in to your local server.
2- In the 'Navigator' tab, select the 'Administration' column at the bottom.
3- Under 'Management', select the 'Data Import/Restore' option.
4- In the import options, select the 'Import Self-Contained File' option and select the file 'BD_queroserdev_18092022' located in the 'sql' folder.
5- After specifying the file path, select 'Start Import'."
With all the files installed, open the file folder in Visual Studio Code.
Open the folder 'js' > 'api' > 'config' and open the file 'config.json'.
In this file, change the options under 'development':
"username": "insert your username used to access MySQL in the previous step"
"password": "insert your password used to access MySQL" (if you don't have a password, leave this field as null).
Open the terminal using the command Ctrl + ".
Run the command: cd js
In the 'js' folder, run the command: npm start
After the server is online, start the Live Server application to view the complete site.
Only the administrator user has permission to register products. Log in using the following credentials:
email: admin@admin.com
password: admin123
Projeto desenvolvido por Paulo Sérgio em teste para a ammo.varejo 👋