- Start off by uploading the CSV file wherein your previous data is stored.
- Use the CreateTemplate button to visualize the JSON data type of the CSV as an entity.
- Templates (data types) will be stored separately in the database.
- Objects corresponding to a template will be accepted and sent to the backend.
- You can perform aggregate functions and logical operations on the objects of the template you wish to work upon.
- This page allows you to modify existing templates and their corresponding objects by adding custom expressions, leveraging existing attributes and expressions present inside multiple templates in the database.
- This feature will enable the comparison of performances of different entities in analytics.
- We have ensured the platform can handle a variety of data. Apart from automating payroll processing for employees, we also provide real-time induction motor analysis.
To get started with CODELESS-PLATFORM-FOR-DATA-MANAGEMENT, follow the steps below to set up both the frontend and backend locally.
Before you start, ensure you have the following installed:
- Node.js and npm (for running the React frontend)
- Java Development Kit (JDK) (for running the Spring Boot backend)
- MongoDB (for the database)
- Maven (for managing Java dependencies in the Spring Boot project)
-
Clone the repository:
git clone https://github.com/your-username/CODELESS-PLATFORM-FOR-DATA-MANAGEMENT.git cd CODELESS-PLATFORM-FOR-DATA-MANAGEMENT
-
Configure MongoDB URL in the Backend: Open the
application.properties
file located in thesrc/main/resources
folder of the backend project, and set the MongoDB connection URL:spring.data.mongodb.uri=mongodb://localhost:27017/your-database-name
Replace
your-database-name
with the name of your MongoDB database. -
Run the Spring Boot Backend: Use Maven to build and run the backend:
mvn clean install mvn spring-boot:run
The Spring Boot application should now be running on
http://localhost:8080
.
-
Navigate to the Frontend Folder: The frontend React project is typically in a folder like
frontend
. Move to this directory:cd frontend
-
Install Dependencies: Run the following command to install all required npm dependencies:
npm install
-
Configure Backend URL for Frontend: In your React app, configure the backend URL to point to the correct Spring Boot backend. This can typically be done in a
.env
file or directly in the Axios setup.Example
.env
file:REACT_APP_BACKEND_URL=http://localhost:8080
-
Run the React Frontend: Start the React development server with:
npm start
This will open the frontend in your browser, typically at
http://localhost:3000
.
If you don't have MongoDB installed locally, follow these steps to set it up:
-
Download and Install MongoDB: Follow the official MongoDB installation guide for your operating system:
MongoDB Installation Guide. -
Start MongoDB: Once installed, start MongoDB by running:
mongod
MongoDB will run on the default port
27017
.
Once everything is set up, you can test the full-stack application by:
- Uploading a CSV file in the frontend to create templates and data objects.
- Visualizing the JSON structure of your CSV and making changes to templates.
- Using the analytics service to perform operations on the data.
- Interacting with the backend APIs and ensuring data is being saved to the MongoDB database.
If you want to customize the MongoDB database URL or make other configurations, update the respective files in both the backend and frontend accordingly. You can also configure custom port settings or set up Docker for local deployment.
With these steps, you should now be able to get CODELESS-PLATFORM-FOR-DATA-MANAGEMENT up and running locally!
Feel free to explore the features of the platform like data provisioning, analytics, expression creation, and payroll checks.