Added frond-end and needed get calls.
This commit is contained in:
42
permissions_control_panel/README.md
Normal file
42
permissions_control_panel/README.md
Normal file
@@ -0,0 +1,42 @@
|
||||
# Naida test
|
||||
***Permissions Control Panel
|
||||
|
||||
Permissions API is front-end webpage for controlling User Permissions.
|
||||
|
||||
*Getting Started
|
||||
|
||||
Instructions for running webpage on your local machine for develoment and testing purposes.
|
||||
|
||||
*Prerequisited
|
||||
|
||||
Pull project folder from GitLab to your local machine: https://gitlab.com/saburly/testovi/naida
|
||||
Front-end webpage files are in folder /permissions_control_panel.
|
||||
|
||||
*Installing dependencies
|
||||
|
||||
Check that package.json has listed "dependencies": {
|
||||
"react": "^16.11.0",
|
||||
"react-dom": "^16.11.0",
|
||||
"react-scripts": "3.2.0",
|
||||
"tachyons": "^4.11.1"
|
||||
}
|
||||
In terminal navigate to folder /permissions_control_panel and run:
|
||||
$npm install
|
||||
|
||||
This should install all needed dependencies (node modules).
|
||||
|
||||
*Start project
|
||||
|
||||
As API is running on default localport 3000, for testing and development purposes, front-end webpage will be running on port 8000 as defined in env file.
|
||||
|
||||
To run both front end and back-end, open terminal, cd into root project folder and run script
|
||||
$chmod +x startall.sh
|
||||
$sh startall.sh
|
||||
|
||||
*Built With
|
||||
|
||||
-React
|
||||
-Tachyons
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user