go-employees-service

Implementing CRUD-like operations to manage employees.

Functional requirements

  • List employees
  • Get an employee
  • Create employee
  • Update employee
  • Delete employee

Non-functional requirements

  • In-memory data persistence
  • Dockerize the app

How to run it?

From the source code

Using docker

  • Build and start: docker-compose up

Routes

Get employees

[GET] http://localhost:4000/employees

Get an employees

[GET] http://localhost:4000/employees/{id}

Create employee

[POST] http://localhost:4000/employees

// Body
{
    "name": "John D. Smith",
    "role": "Software Engineer"
}

GitHub

View Github