/BorneToGo

Primary LanguageJavaScript

BorneToGo

BorneToGo-logo

BorneToGo is an ISEN school project. It is an app whose purpose is to help finding where to charge electric cars.

Installation

Install Docker and Docker Compose.

Runtime:

To build to backend on Linux, run:

cd Backend
sh build.sh

To do this on Windows, use:

cd Backend
.\build.sh

Then, launch both the backend and the database, run (eventually as sudoer):

docker-compose build
docker-compose up -d

The database needs to be built the first time. To do this on Linux:

cd Database
sudo sh fill.sh linux

And on Windows:

cd Database
.\fill.sh windows

To shut down the docker containers, run:

docker-compose up -d

Frontend's installation

Installation of needed tools for using React Native

To develop with React Native, you will need Node.js that can be download at this link: https://nodejs.org/en/download/ (LTS version).

To install the command line interface (CLI) of Expo: npm install expo-cli --global

Deploiement

The project should work all alone. There is a yarn part that manage all dependecies with npm. Recover the project and in the folder use the command : npm install then to run the project npm run start

More details are provided in the respective READMEs of the frontend, backend and the database.