This project is a web application that requires both a client-side and server-side component. To run and test the application, please follow the steps outlined below.
To run this application, you will need to have Node.js and npm installed on your machine.
1- Clone this repository to your local machine using the following command:
git clone https://github.com/majdkilou/log-in-task.git
2- Navigate to the project directory and install the required packages by running the following command:
1- To start the client-side component, navigate to the project directory and run the following command:
This will start the client-side component of the application, which can be accessed by visiting http://localhost:3000 in your web browser.
2- To start the server-side component, open a new terminal window, navigate to the api folder in the project directory, and run the following command:
This will start the server-side component of the application, which is necessary for the client-side component to function properly.
To test the application, navigate to http://localhost:3000 in your web browser. If the application is running correctly, you should be able to interact with it as intended.
1- viewr user :
2- editor user :
If you encounter any issues or errors, please consult the console logs for more information.
Conclusion Congratulations! You now have the application running on your local machine and you're ready to begin testing. If you have any questions or run into any issues, please don't hesitate to reach out for help.