- Docker and Docker Compose
-
Clone the repository.
-
Navigate to the project directory:
cd /path-to-project
-
Run the following command to view the list of available commands:
bash run.sh
-
You will be presented with options. To run the project:
- Type 1 and press Enter.
-
To run end-to-end (E2E) tests:
- Follow the steps above to run the project.
- Type 3 and press Enter. (Note: Ensure that you have already run the project before running the tests.)
-
To stop the containers:
- Follow the steps above to run the project.
- Type 2 and press Enter.
-
To build the project:
- Follow the steps above to run the project.
- Press 4 and press Enter.
-
To exit from the shell command:
- Press 5 and press Enter.
You can find the Postman collection in the root directory of the project.
-
Import the collection into Postman.
-
Run the project (refer to the Installation and Run section for the guide).
-
To login:
-
Call the
/api/auth
endpoint, which will set the auth token for all request headers. -
Default Email and password to login:
{ "email": "[email protected]", "password": "password" }
-
- Write More conditions in E2E tests
- Write Unit tests