Skip to content

Latest commit

 

History

History
76 lines (50 loc) · 2.01 KB

README.md

File metadata and controls

76 lines (50 loc) · 2.01 KB

🚛 entreGo

App per-to-peer, connect people who need to transport clothing merchandise with people who have cargo vehicle.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

You will need to have:

npm (Node Package Manager)

Installing

How to get a development env running:

Install front-end dependencies in the root folder.

npm i

Then go to to the folder ./backend_node and install the dependencies.

npm i

Now you have all devDependencies and dependencies the project need.

Then create a db.js file on ./backend_node/configs with the next pattern:

module.exports = {
  'connection': {
    'host': '',
    'user': '',
    'password': '',
    'database': ''
  },
  'database': ''
};

System works with sql database

Run the project

This project use NodeJs as backend so you need to run the server, so in ./backend_node folder use:

npm run server

This is all for the backend side, for see the project now you just need to go to the root folder :

npm run dev

Now you can see the project connected & working on http://localhost:8080/

Server will run on http://localhost:3000/

Dev team

Joaquin Harold Harold Roxana

License

Apache 2.0