FXStreet Frontend test

This manual provides instructions for running and building an application in development and production mode.

Install dependecies

Before getting started, ensure that all the necessary dependencies are installed by running the following command:

npm install

Development

To run the application in development mode, follow these steps:

  1. Start the development server with the following command:
npm start
  1. If the browser doesn't open automatically, navigate to http://localhost:3000/ to view the application.

Production

To run the application in production mode, follow these steps:

  1. Build the production server by running the following command:
npm run build
  1. Start the server with the following command:
npm run serve
  1. If the browser doesn't open automatically, navigate to http://localhost:8000/ to view the application.

Testing

To execute the application's tests, use the following commands:

  1. Run all tests with coverage:
npm run test
  1. Run a specific test file:
npm run test tests/{folder}/{file}.test.js

Netlify

If you want to see the deployed version on Netlify, you can visit the following URL: https://64fcc820fa00dc1e57fbbed4--gorgeous-profiterole-75d87f.netlify.app/