Giter Club home page Giter Club logo

arizona-roomfix-frontend's Introduction

RoomFix - React WebApp

roomfix8-logo-light

Context

Roomfix is a 4th Year Software Engineering school Web Technologies Project. The goal was to make a platform to report broken devices in a set of buildings to facilitate and optimize the maintenance.

This project is a React.js webapp based on a Spring Boot Boot API (link).

This repository contains the React.js webapp.

The project also uses sass (.scss) files instead of .css. Overall it works the same, any classic css will work fine but it is possible to use functions and variables for the css (very useful).

Online Version

Demo version of the application: http://roomfix.k8s.pouretadev.com/

Admin user

username:  [email protected]
password: test

Regular classique ("Student")

username:  [email protected]
password: test

Project setup

It is recommended to use yarn to manage npm packages.

Installing dependencies

yarn install

Run locally for development

yarn start

If necessary, you may need to change the backend url in the .env file, the name of the variable is: REACT_APP_API_URI.

You also need to configure your IDE for eslinctrc so that everyone can follow the same coding format and conventions.

Docker

Compiling static files in the / build folder (dev "React" files to "html / css / js" browser-friendly files for the web)":

yarn install
yarn build

Build the Docker image :

docker build -t roomfix-front:v1 .

Run the container on port 3000 :

docker run -d -p 3000:80 roomfix-front:v1 

arizona-roomfix-frontend's People

Contributors

leopoldbancal avatar clemdal avatar andbluedev avatar laurianneprogent avatar npasquie avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.