Follow these steps to set up and run the project locally.
- Git
- Make
- Docker and Docker Compose
-
Clone the repository:
git clone https://github.com/veekthorcodes/we-exchange.git
-
Install dependencies:
cd we-exchangemake install
-
Set up environment variables:
- Navigate to the
/backenddirectorycd backend - Create a
.envfile using.env.exampleas a template:cp .env.example .env
- Update
.envfile with your specific configuration values
- Navigate to the
-
Start the application:
- Navigate to the root directory:
cd .. - Run Docker Compose:
docker-compose up --build
- Navigate to the root directory:
-
Test the application:
-
View the frontend at: http://localhost:5173
-
Test backend endpoints with postman:
http://localhost:5050
-
Login with any of the credentials below:
username: user 1 password: password1
username: user 2 password: password2
-