Coder Social home page Coder Social logo

laurene45 / billed-app-fr-front Goto Github PK

View Code? Open in Web Editor NEW

This project forked from openclassrooms-student-center/billed-app-fr-front

0.0 0.0 0.0 3.58 MB

Billed

Home Page: https://billed-app-fr-front-three.vercel.app

JavaScript 91.00% HTML 1.84% CSS 7.16%
jest

billed-app-fr-front's Introduction

BILLED-APP

This project, called frontend, is connected to a backend API service that you must also launch locally.

Backend Project: https://github.com/OpenClassrooms-Student-Center/Billed-app-FR-back

billed.JPG

Method of working:

For good organization, you can create a bill-app folder in which you will clone the backend project and subsequently, the frontend project:

  • Clone the backend project into the bill-app folder:
$ git clone https://github.com/OpenClassrooms-Student-Center/Billed-app-FR-Back.git
bill-app/
   - Billed-app-FR-Back

Clone the frontend project into the bill-app folder:

$ git clone https://github.com/OpenClassrooms-Student-Center/Billed-app-FR-Front.git
bill-app/
   - Billed-app-FR-Back
   - Billed-app-FR-Front

How to launch the application locally?

step 1 - Launch the backend:

Follow the instructions in the README of the backend project.

step 2 - Launch the frontend:

Go to the cloned repo:

$ cd Billed-app-FR-Front

Install the npm packages (described in package.json):

$ npm install

Install live-server to launch a local server:

$ npm install -g live-server

Launch application :

$ live-server

Then go to the address: http://127.0.0.1:8080/

How to run all tests locally with Jest?

$ npm run test

How to run a single test?

Install jest-cli :

$npm i -g jest-cli
$jest src/__tests__/your_test_file.js

How to view test coverage?

http://127.0.0.1:8080/coverage/lcov-report/

Accounts and users :

Vous pouvez vous connecter en utilisant les comptes:

administrator :

utilisateur : [email protected] 
mot de passe : admin

employee:

utilisateur : [email protected]
mot de passe : employee

billed-app-fr-front's People

Contributors

aurelien-oc-mentorship avatar diane-lb avatar laurene45 avatar nicolaspatschkowski avatar techerjeansebastienpro 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.