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.
- 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
- Node.js (version 18 or later recommended)
- npm (comes with Node.js)
-
Clone the repository:
git clone https://github.com/quang-pham-dev/meta-front-end-capstone-assignment.git
-
Navigate to the project directory:
cd meta-front-end-capstone-assignment
-
Install dependencies:
pnpm install
To start the development server:
-
Run the development server:
pnpm run dev
-
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.
To run the test suite for this project:
-
Ensure you're in the project root directory.
-
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.