Dei-Gee / basic-book-manager

A small simple app to manage a list of books

Home Page:basic-book-manager.dei-gee.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Basic Book Manager

This app will manage a list of books and their authors

Stack

Node.js, Express.js & Typescript (Backend)
React (Frontend)
MongoDB (Database - hosted on mlab)

Scripts

  • npm run build (compiles the typescript files into javascript)\
  • npm run client (runs only the frontend react app)\
  • npm run client-install (npm install for the client folder)\
  • npm run dev (runs bothe the backend and frontend)
  • npm run dev-server (runs only the backend)\

Commentary

I was able to implement all of the requirements here Holidog Full Stack Challenge. The api endpoints all work >perfectly. I was also able to implement the bonus api endpoints (i.e. for PUT requests). i Wasn't able to write tests in time.

Problems (Bugs, Errors and Warnings)

  • There is an "Unhandled Promise Rejection" Warning. It doesn't seem to have any noticeable effect on performance. (<--> This is probably because of the lack of catch clauses in my requests and promises)
  • There is no error component so if you type a random component like '/test' it won't take you to an error page. It just won't load any information beyond the standard App.js component

About

A small simple app to manage a list of books

basic-book-manager.dei-gee.vercel.app


Languages

Language:JavaScript 74.5%Language:TypeScript 16.2%Language:HTML 5.7%Language:CSS 3.5%