🎓 Backend Engineer Code Challenge - Levee
About •
Features •
How it works •
Tech Stack •
Author •
License
This project is a simple API for some Job
routines, such as creating, listing, and activate.
This project is Restful API:
Before you begin, you will need to have the following tools installed on your machine:
docker, docker compose, Git.
In addition, it is good to have an editor to work with the code like VSCode
# Clone this repository
$ git clone https://github.com/fabianoleittes/code-challenge-levee-ruby
# Access the project folder cmd/terminal
$ cd code-challenge-levee-ruby
# building the project
$ docker-compose build
# Run the application in development mode
$ docker-compose up
# The server will start at port: 3000 - go to http://localhost:3000
# Run tests in container
$ docker-compose run --rm api bin/rspec spec
URL / ENDPOINT | VERB | DESCRIPTION |
---|---|---|
/v1/signup | POST | Create user |
/v1/auth/login | POST | Generate token |
URL / ENDPOINT | VERB | DESCRIPTION |
---|---|---|
/v1/jobs | POST | Create Job |
/v1/jobs | GET | Returns all Job |
/v1/jobs/:id | PUT | Update Job Status |
/v1/category/:id | GET | List percentage |
API
using InsomniaThe following tools were used in the construction of the project:
See more Gemfile
Utilities
This project is under the license MIT.