This app will manage a list of books and their authors
Node.js, Express.js & Typescript (Backend)
React (Frontend)
MongoDB (Database - hosted on mlab)
- 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)\
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.
- 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