Skip to content

Arquisoft/lomap_es6b

Folders and files

NameName
Last commit message
Last commit date

Latest commit

19f06ee · Apr 19, 2023
Apr 19, 2023
Mar 5, 2023
Apr 11, 2023
Apr 5, 2023
Apr 19, 2023
Mar 12, 2023
Mar 22, 2023
Jan 28, 2023
Jan 28, 2023
Jan 28, 2023
Mar 11, 2023
Mar 11, 2023
Jan 28, 2023

Repository files navigation

LoMap ES6B

-Manuel López Zürcher

-Adriana Arias Coya

-Alicia Fernández Pushkina

-Jaime Sánchez Lorenzo

CI for LOMAP_ES6B Quality Gate Status Coverage

How to deploy locally :)

In this version we deploy the app locally without docker. In order to solve the problem that you will get for trying to run our project with mongo, follow these steps:

We will assume that you already have our project downloaded in your PC.

  1. Go into our restapi folder.

  2. You will see a file called .env_sample with this content

    DATABASE_URL = mongodb+srv://username:[email protected]/test
  3. You will have to create in your repository your own file called .env, with the same content showed above, but updated with your MongoDb access data. If you don´t have access yet, contact us.

  4. Now, open one terminal, compile and run restapi. If everything went well, you will read database connected.

    cd restapi
    npm install
    npm start
  5. Now the same with webapp. Don´t mind if you see some errors after install. These doesn´t affect the execution and will be removed in future versions.****

    cd webapp
    npm install
    npm start

If everthing went well, you should be able to access the application in http://localhost:3000.