Skip to content
This repository has been archived by the owner on Jan 27, 2024. It is now read-only.

Plokkke/mc-url-shortener

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mobile Club: URL shortener test

❗️ We do not want you to spend more than 3 hours on this test. Please turn in your test even if it is not functional.

Requirements

  • node (version 16 and up)
  • yarn
  • docker
  • docker-compose
  • SQL client supporting PostgreSQL (PgAdmin, DBeaver, TablePlus...)

Stack

  • PostgreSQL
  • NestJS
  • GraphQL
  • Apollo
  • GraphQL codegen
  • React
  • Jest
  • Cypress

Getting started

📘 There is no production build configuration (not required for the scope of this test)

Install and start the application:

yarn # install dependencies
yarn dev # run dev. environment

NestJS & React & GraphQL codegen are hot reloaded.

To stop the application:

yarn stop

❗️ If you choose to add dependencies be sure to re-build the corresponding docker image. Because node_modules are baked into the image. To do so: yarn rebuild

Test launch commands are available in package.json files, in front-end and back-end subdirectories.

User stories

  • As an end user, I want to generate shorter URLs that redirects to the same location, so when I share a link it appears shorter.
  • (Bonus): Implement any feature that you like. Few examples to get your imagination started: usage count, expiration date, authentication, user agent tracking.

Submitting your test

  • Upload the project on a public repository (Github, Gitlab, BitBucket...)
  • Send the link of the project by email to [email protected]

🍀 Best of luck, from Mobile Club’s tech team.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 75.5%
  • HTML 13.5%
  • JavaScript 8.2%
  • Dockerfile 2.3%
  • CSS 0.5%