meta-front-end-capstone-assignment - Quang Pham

This project is a modern web application built with React and Vite, providing a fast and efficient development experience for the Meta Front-End Developer Capstone assignment.

Tech Stack

  • React: A JavaScript library for building user interfaces
  • Vite: A next-generation frontend tooling
  • TypeScript: A typed superset of JavaScript
  • ESLint: For code linting and maintaining code quality
  • React Router: For handling routing in the application
  • SweetAlert2: For beautiful, responsive, customizable popups

Getting Started

Prerequisites

  • Node.js (version 18 or later recommended)
  • npm (comes with Node.js)

Installation

  1. Clone the repository:

    git clone https://github.com/quang-pham-dev/meta-front-end-capstone-assignment.git
    
  2. Navigate to the project directory:

    cd meta-front-end-capstone-assignment
    
  3. Install dependencies:

    pnpm install
    

Running the Project

To start the development server:

  1. Run the development server:

    pnpm run dev
    
  2. Open your browser and visit http://localhost:3000 to view the application.

Note: The port number may vary if 3000 is already in use. Check the terminal output for the correct URL.

Running Tests

To run the test suite for this project:

  1. Ensure you're in the project root directory.

  2. Run the following command:

    pnpm test
    

This will execute all the tests in the project using the configured test runner (likely Jest, given this is a React project).

Note: If you encounter any issues running the tests, make sure all dependencies are properly installed and that you're using a compatible Node.js version.