InfiniteHelios / accounting-app-exercise

Accounting app for coding exercise.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Accounting App - Coding Exercise

Coding Exercise: Typescript Node (TypeScript + Node + Express + Validator) from scratch.

This codebase was created from scratch including Typescript Node, routing, and validation.

Getting started

To get the Node server running locally:

  • Clone this repo
  • Please download and install the Node.js on the download page to use npm.
  • npm install to install all required dependencies
  • Copy .env.example to .env and enter all variables.
  • npm start to start the local server.

Application Structure

  • server.ts - The entry point to our application.
  • app.ts - This file defines our application. It also requires the routes we'll be using in the application.
  • routes/ - This folder contains the route definitions for our API.
  • controllers/ - This folder contains the controllers to handle Http request.
  • interfaces/ - This folder contains the interfaces used in controllers.
  • validators/ - This folder contains the validators for our Http request.
  • utilities/ - This folder contains the environment variables, logger amd error handling logic.

About

Accounting app for coding exercise.


Languages

Language:TypeScript 94.6%Language:Dockerfile 3.3%Language:Shell 2.1%