A React.js take-home app project to demonstrate understanding of the library
Follow the steps below to install and run the application:
-
Make sure you have Node.js and npm (Node Package Manager) installed on your machine. You can download them from the Official Node.js website.
-
Follow the installation instructions specific to your operating system.
-
Open a terminal or command prompt.
-
Navigate to the directory where you want to clone the "pesira_user_manager" repository.
-
Run the following command to clone the repository:
git clone git@github.com:karianmash/pesira_user_manager.git
-
Change into the project directory:
cd pesira_user_manager
-
Run the following command to install the project dependencies:
npm install
This command will read the "package.json" file and install all the necessary packages listed in it.
-
Run the following command to start the development server:
npm start
This command will start the development server and open the application in your default browser. You should see an output similar to:
You can now view pesira_user_manager in the browser. Local: http://localhost:3000 On Your Network: http://192.168.100.15:3000 Note that the development build is not optimized. To create a production build, use npm run build. webpack compiled successfully
-
Open your web browser and visit http://localhost:3000 to see the running "pesira_user_manager" app.
The application has the following features:
- A user can view a list of users.
- A user can view a user's details.
- A user can edit a user's details.
-
A user can delete a user.
-
A user can add a new user.
- The applications includes a loader indicator to show when data is being fetched from the server.
- Response messages are displayed to the user when an action is performed.
- There's validation of form input fields.
The project structure is as follows:
pesira_user_manager
├── public
│ ├── images
│ │ └── ...
│ ├── favicon.jpg
│ ├── index.html
│ └── manifest.json
├── src
│ ├── components
│ │ ├── AddUserForm
│ │ │ ├── AddUserForm.js
│ │ ├── Header
│ │ │ ├── Header.js
│ │ │ ├── ...
│ │ ├── Modals
│ │ │ ├── Loader
│ │ │ │ ├── Loader.js
│ │ │ │ ├── ...
│ │ │ ├── ResponseMessage
│ │ │ │ ├── ResponseMessage.js
│ │ │ │ ├── ...
│ │ │ ├── ...
│ │ ├── Table
│ │ │ ├── Table.js
│ │ │ ├── ...
│ ├── pages
│ │ ├── AddUser
│ │ │ ├── AddUser.js
│ │ ├── Home
│ │ │ ├── Home.js
│ │ │ ├── ...
│ │ └── ...
Distributed under the MIT License. See LICENSE
for more information.