This project was created with Angular CLI version 16.2.5. It serves as a demonstration of a user contact form, whereby user information is mocked and displayed within the /home
route upon form submission.
Access the live demo of the project through the following link: Contact Us Challenge.
/pricing
/home
/contact-us
Upon submitting the contact form on the /contact-us
route, a static (mocked) user will be created and displayed on the /home
route.
Every push to the main
branch triggers an automatic deployment to Netlify, ensuring that the live demo always reflects the latest state of the project.
Ensure you have the following installed on your local development machine:
- Node.js (version 18.10.0 or later)
- Angular CLI
-
Clone the repository:
git clone https://github.com/[YourUsername]/ContactUsChallenge.git cd ContactUsChallenge
-
Install Dependencies:
npm install
-
Start the Development Server:
npm start
Navigate to
http://localhost:4200/
. The application will automatically reload if you change any of the source files.
-
Build the Project:
npm run build
The build artifacts will be stored in the
dist/
directory. -
Run Unit Tests:
npm run test