Skip to content

TheSoftwareDesignLab/Idaka

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

image Download and compile Idaka by following the steps.

1. Configure the database with MongoDB Atlas

Create the database

To create a MongoDB use the following link to go to the home page https://account.mongodb.com/account/login where you can find the database section and then click on the create button.

Imagen1 image

For more details please refer to MongoDB_Documentation

Create the collections on the created database

Once you created the database, the following step will be creating the required collections for the app. For this, navigate to the Collections tab and click on the Create collection button.

It would be neccesary to create 4 collections: Practices, Queries, Stages, TasksWithPractices. image image

For more details please refer to MongoDB_Documentation

Collections´ Data Uploads

The following data needs to be uploaded on their corresponding collections:

In order to do this you should go to your collection and click on Insert Document. Select the JSON way to upload, and copy/paste the corresponding data. image image

2. Configure the environment variables

On the back-end folder create a .env file with the variable REACT_APP_DB_CONNECTION_STRING. Note that you should add the connection string for the database. For more details please refer to MongoDB_Documentation

3. Download and compile Idaka with the following commands.

git clone https://github.com/TheSoftwareDesignLab/Idaka.git

To run the back-end:

cd Back-end
npm i
npm start

Now by opening another terminal, to run front-end:

cd Front-end
npm i
npm run build
npm start