Skip to content

Simple API that provides an authentic job search experience.

License

Notifications You must be signed in to change notification settings

nelsonfigueroa/rejection-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rejection API

Get the true Software Engineer job search experience.

This is a simple JSON API created with Go. The API returns a selection of rejection emails I've received throughout my career. Messages have been slightly modified to remove company names.

Running the API by Building the Binary

Make sure you have Go installed. Clone this repo, cd into the directory, then get the necessary packages:

go get

Build the binary:

go build

Then run it:

./rejection-api

Running with Docker

Make sure Docker is running on your system. Clone this repo, cd into the directory, then run:

docker build . -t rejection-api

After the image is built, run it with:

docker run -p 80:80 rejection-api:latest

Using the API

You can make API calls to 127.0.0.1:80.

HTTP Verb Endpoint Description
GET /rejections Get a random rejection message

Examples:

Get a random rejection:

curl -s 127.0.0.1:80/rejections

Response

{"id":"2","message":"Thank you for giving us the opportunity to consider you for employment. We have reviewed your background and qualifications and find that we do not have an appropriate position for you at this time."}

About

Simple API that provides an authentic job search experience.

Resources

License

Stars

Watchers

Forks