Skip to content

matborowiak/billie-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Billie.io - the app from the outer space 🚀

This project was bootstrapped with Create React App. On top of that it uses typescript, react-query, node-sass.

How to run the app

The app is built from the server app and the client app.

To make sure the client app works correctly, you need to take those three steps:

  1. Create .env.local file in root directory, and set environment variable: REACT_APP_NETWORK_IP=172.21.3.165
    replacing its value with your local network IP.
    To obtain the IP you can run yarn start and take the IP from the console output:

  2. Run yarn server in your console in order to start the server app mocking the endpoint

  3. Run yarn start to start client app while server app is running in the background

Note: if the client app was still running before created .env.local containing your IP, you need to restart the client app)

Available Scripts

In the project directory, you can run:

yarn server

Runs the local server mocking endpoint for client.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

yarn start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

yarn test

Launches the test runner in the interactive watch mode.
See the section about running tests for more information.