Git Product home page Git Product logo

backenddevelopmentapplications's Introduction

APPROACH TO SOLUTION

  1. Spinned up a simple Express server.
  2. Used SQLite library to handle database management.
  3. Created a server.js file to delegate database initialization.
  4. Used a separate file for routes to handle all CRUD operations on /todos route.

POSTMAN Documentation for the API - https://documenter.getpostman.com/view/11144274/2s9YBxZbXq

CHALLENGES FACED

  1. Since this is my second or third time working with TypeScript, I did have some problems getting used to the strict typing and different style of exporting and importing modules.
  2. Writing POSTMAN documentation was something new to me, but a helpful guide was able to guide me through all steps with relative ease.

FEATURES I WOULD HAVE ADDED IF THERE WAS MORE TIME

  1. Would have worked on request query management to efficiently handle chunks of large data (For example: /todos?limit=50 which would generate less responses, etc.)
  2. Worked on some form of basic authentication to help protect the routes from unauthorized access.
  3. Would have split the code into better chunks to make the code prettier.

STEPS TO SETUP THE PROJECT

  • Use npm install to install all required dependencies.
  • Once done, use npm start on the terminal to compile TS and run the project.

backenddevelopmentapplications's People

Contributors

mohdorusaid avatar zigyprints avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.