This backend server acts as the entry point for frontend requests for purposes of the coding challenge.
To run locally:
Install docker & docker-compose:
- For mac: Follow the instructions at: https://docs.docker.com/desktop/install/mac-install/
- For windows, follow the instructions at: https://docs.docker.com/desktop/install/windows-install/
- For linux, follow the instructions at: https://docs.docker.com/desktop/install/linux-install/
Ensure that you have no other applications running on the ports: 8080 and 5000 After you have your docker service running:
- Clone this repository
git clone https://github.com/Leta-io/grpc-contacts-server
- Navigate into the directory containing this repo
cd grpc-contacts-server
- Run
docker-compose up --build
The server should now be accessible at: http://localhost:8080/
The default predefined user accounts for login are:
[
{
"username":"admin",
"password":"admin"
},
{
"username":"staff",
"password":"staff"
}
]