Getting started
Getting started page for beginners.
Dashboard
Welcome to the IDPT wiki page. This wikipedia will get you started with the development work.

Prerequisite
You need to have
[nodejs](https://nodejs.org/en/)installed. Any version between 8-latest should work. If you do not havenodejsinstalled, follow their documentation site it get it installed.Intall
MongoDB.Install and configure
giton your computer.Getting started. Follow the instruction here:
Once you have Prerequisite installed, you are ready to get started.
Step 1: Clone the repository.
git clone https://github.com/sureshHARDIYA/idpt.gitStep 2: Get inside the backend folder inside the repository.
cd idpt/backendstep 3: Make sure your mongoDB is up and running. Copy .env_example and create a new file .env. You need to add following environment variables to .env file.
MONGODB_URI=ADD_YOUR_MONGODB_LOCALHOST_URI_HERE
CLOUDINARY_URL=ASK_ME
cloud_name=ASK_ME
api_key=ASK_ME
api_secret=ASK_MENote MONGODB_URI is mandatory one so, if you just have the correct mongodDB URI, the application should run.
step 4: Run the backend.
yarn && yarn startIf your configuration and everything is correct, it should run the API at given port. You should be able to see the screenshot as shown below. Note the message that says MongoDB connected.

If you have error message and does not say
mongodb connected, try to verify ifmongoDBis running correctly.
step 5: Run the frontend. Navigate inside the frontend folder in a NEW terminal:
cd frontend && yarnTo run the frontend, run yarn start
yarn startOnce it compile, you should have frontend running at a given PORT, 3000 usually. By now, you should have 2 terminal, once running backend server and one running frontend.

Open the link in any browser and you should be able to see the frontend.

Congratulations! you were able to run the framework.
Happy Coding !
Last updated
Was this helpful?