demondragong / p9-bill-app

Web dev training project 9

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

BillApp (debugging and testing project)

Training project to practice testing (unit, integration, end-to-end) and Jest.

Getting Started

Instructions to run the backend

Clone the projet

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

Go to the project directory

cd Billed-app-FR-Back

Install project dependancies

npm install

Run the API

npm run:dev

The API is locally available on port 5678, go to http://localhost:5678

Instructions to run the frontend

  1. Open a terminal window in the cloned project
  2. Navigate to the frontend folder (cd Billed-app-FR-Front)
  3. Run the following commands
# Install dependencies
npm install

# Install liveserver
npm install -g live-server

# Launch liverserver
live-server

Then go to http://127.0.0.1:8080/

To see the test coverage report go to:

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

Testing accounts :

admin :

user : admin@test.tld 
password : admin

employee :

user : employee@test.tld
password : employee

(back to top)

About

Web dev training project 9


Languages

Language:JavaScript 92.5%Language:CSS 6.0%Language:HTML 1.5%