This project was bootstrapped with Create React App.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
Create .env file that contains your database setting such as hostname, username, password, database name, and secret key for authentication purpose.
.env.development
API_SERVER = http://localhost:8000/api/
SOCKET_SERVER = http://localhost:3001
SECRET_KEY = vocs-si-secret-key
.env.production
API_SERVER = http://172.16.6.117:8000/api/
SOCKET_SERVER = http://172.16.6.117:3001
SECRET_KEY = vocs-si-secret-key
Make sure you have Node.js and NPM installed on your computer before proceeding.
-
Clone this repository by opening a terminal/command prompt and running the following command:
https://github.com/aazzizzz1/vcs-system-information.git
-
Enter the project directory::
cd vcs-system-information
-
Install the project dependencies by running the following command:
npm install
After all packages installed, place the .env files on this app folder. The directory should be like this
├── .env
├── package-lock.json
├── package.json
├── tailwind.config.js
├── gitignore
└── public
├── flowbite.css
├── flowbite.js
├── index.html
├── manifest.json
└── robots.txt
└── src
├── __test__
├── assets
├── components
├── layouts
├── pages
├── routes
├── statemanagement
├── style
├── App.jsx
├── index.js
├── main.jsx
└── index.scss
npm start
Runs the app in the development mode.
Open http://localhost:3000 to view it in your browser.
npm test
Launches the test runner in the interactive watch mode.
See the section about running tests for more information.
npm run build
Builds the app for production to the build
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
Your app is ready to be deployed!
See the section about deployment for more information.
- React - The library for web and native user interfaces
- React documentation - To learn React
- Tailwind - CSS framework
- Redux - State management library
- JWT - JSON Web Token (JWT) is an open standard (RFC 7519) that defines a compact and self-contained way for securely transmitting information between parties as a JSON object.
- Socket.IO - Socket.IO is a library that enables low-latency, bidirectional and event-based communication between a client and a server.
- React JS
Note: this is a one-way operation. Once you eject
, you can't go back!
If you aren't satisfied with the build tool and configuration choices, you can eject
at any time. This command will remove the single build dependency from your project.
Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except eject
will still work, but they will point to the copied scripts so you can tweak them. At this point you're on your own.
You don't have to ever use eject
. The curated feature set is suitable for small and middle deployments, and you shouldn't feel obligated to use this feature. However we understand that this tool wouldn't be useful if you couldn't customize it when you are ready for it.
© 2023 Abdul Aziz, a 2U, Inc. brand. All Rights Reserved.