Random Quote Generator

Introduction

Your task is to build a backend application that acts as a RESTful API Server for displaying random quotes.

The application should be written using NestJS, TypeScript, TypeORM, and SQLite

Getting Started

The NestJS starter code and quotes file can be found in our random-quote-generator GitHub repository. The NestJS First Steps documents are a great launching point to begin building this.

What We Expect From You

  1. Create an application that creates and uses a RESTful API to retrieve and display a random quote from the given office-quotes dataset. This application does not need to be deployed or hosted anywhere- just something you can run locally.
  2. Add tests to your newly created application.
  3. Add any additional feature of your choice.
  4. Update the README with any information you want to include that will help us understand and run your project.
  5. Upload your completed code to your own Git repository and share it with us.

Need Help?

Feel free to consult any NestJS or TypeScript documentation as necessary. For any other further questions or issues that arise, reach out to your hiring manager.

Time Estimate

We expect this to take you 1-2 hours to complete. This isn’t a hard limit- it is just for you to plan your time!

Installation

$ npm install

Running the app

# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run start:prod

Test

# unit tests
$ npm run test

# e2e tests
$ npm run test:e2e

# test coverage
$ npm run test:cov