Appshare Development Environment
Welcome to the Appshare development environment. This guide will help you get started with setting up and managing your development server and applications.
Appshare apps are built using the React framework. If you are new to React, we recommend you to go through the official React documentation.
For UI we are using Material-UI, you can find the documentation here.
Setting up the Development Environment
Requirements
Note: Before proceeding, install Node.js on your system.
Once you have completed the setup, the first step is to clone the repository.
Clone the Repository
git clone <repository-url>
cd <repository-name>
Once you are inside the repo, you need to create a .npmrc file before installing dependencies.
Create .npmrc File
- Create a
.npmrcfile in the root of your project - Get the
.npmrccontent by going to jde.appshare.app and navigating to administration → settings → developers → npmrc tab - Copy and paste the content into the
.npmrcfile
Install Dependencies
Once you have created the .npmrc file, install the dependencies:
npm install
Login Credentials
Create an env.json file in the local/ directory with the following content:
{
"server": "your-ais-server.com",
"username": "your-username",
"password": "your-password"
}
Replace the above credentials with your own AIS server URL, username, and password.
Creating a New App
To create a new app, follow the steps here