Skip to content

glideapps/api-exercise

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Glide User API Exercise

Overview

Welcome to the Glide coding challenge for the software engineer position. This challenge is designed to understand how you approach problem-solving and develop solutions that you would be confident to deploy in a production environment.

Objective

Within this repository, you will find a test file in the root directory, containing integration tests for the desired behavior of an API. Additionally, we have provided the data that the API should interact with in users.json. Your task is to write the API implementation so that the integration tests pass.

The tests target http://localhost:3000. Please ensure that your implementation works against this URL. We have set up a basic server.js file to get you started. However, you're free to choose any technology and implementation approach – if you prefer to use Go, Ruby, etc., please feel free to do so. This task is meant to be technology agnostic. One recommendation though, due to time constraints we would suggest using the file system as your datastore. You don't want to use all your time getting a datastore like postgres running.

Evaluation

Our aim with this task is to understand how you think through problems and the steps you take, rather than just completing the task within the allotted time. Focus on how you would approach the implementation to make it production-ready, rather than rushing to pass the integration tests.

Setup

Clone the repo into your local development environment and get the app running:

npm install
npm run test

If you want to use the existing Express server, run:

npm run server

This command starts the Express server configured in server.js, serving the API on http://localhost:3000. Finally run the test command again to validate that the server is working:

npm run test

Queries

If you have any opinions, thoughts, or need clarification on any aspect of the challenge, please do not hesitate to discuss these with us during the interview. We value open communication and are keen to understand your perspective and reasoning.

Good luck, and we're excited to see you get creative!

About

API interview exercise for backend engineering role

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published