Skip to content
This repository has been archived by the owner on Dec 5, 2022. It is now read-only.

FlorianCassayre/LauzHack-22

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LauzHack-22

Project name: sustAInability

Please refer to our DevPost page for more information.

You may also watch our demo video.

Ownership

Excluding some images, all the source code is our own work.

Development

Backend

Directory backend.

Runs on Python 3 with a pip installation.

You need to have the environment variable DIFKEY defined.

Then run the following commands:

pip install -r requirements.txt
python3 server.py

The backend will start on: http:https://0.0.0.0:8080

Frontend

Directory frontend.

Recommended Node.js version 18 and npm version 8.

First make sure to set the following environment variable in .env:

REACT_APP_BACKEND_ENDPOINT=http:https://0.0.0.0:8080

Then, setup and start the development server with:

npm install
npm start

The development server can be reached at the following URL: http:https://localhost:3000/