Skip to content

DigitalProductschool/dps-expressjs-challenge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DPS Backend Coding Challenge

Overview

This repository contains a very basic web application based on Typescript and Express.js. Main application file is index.ts. Node and npm are required.

Environment Setup

Ensure you have Node.js (v14.x or later) and npm (v6.x or later) installed.
To set up and run the application, execute the following commands:

npm install
npm run dev

The application will then be accessible at http://localhost:3000.

Project Context

You will develop a backend system for managing data about a company's projects and their associated reports. Each project may have multiple reports linked to it, though having reports is not mandatory. Start your implementation using the provided SQLite database(db/db.sqlite3).

Refer to the database schema provided for understanding the data structure 👇

Database schema

NOTE: You can use (db.service.ts) to handle SQL queries to the database.

Challenge Tasks

  • Fork this project: Start by forking this repository
  • REST API Development: Design and implement a RESTful API to create, read, update, and delete projects and their reports.
  • Special API Endpoint: Create an API endpoint that retrieves all reports where the same word appears at least three times.
  • Optional: Secure all API routes with a hardcoded authentication token ("Password123").
  • Submission: After completing the challenge, email us the URL of your GitHub repository.
  • Further information:
    • If there is anything unclear regarding requirements, contact us by replying to our email.
    • Use small commits, we want to see your progress towards the solution.
    • Code clean and follow the best practices.


Happy coding!

About

DPS Coding challenge based on Express.js and Typescript

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published