-
Notifications
You must be signed in to change notification settings - Fork 0
The Frontend Tech Stack
TypeScript was our language of choice for programming the frontend of our project. Its main benefit is that it makes it possible to add static types to your Javascript code. Javascript is a dynamically typed language, which can be super helpful for quick projects, but as they scale, issues can arise. Static typing allows you to catch errors earlier in the debugging process.
We used React to create a SPA (Single Page Application) for our project. It allowed us to easily create reusable components of HTML with associated functions and logic, etc using TypeScript. We used a React-TypeScript starter project to build our app upon - this setup the configuration properly and made development a breeze.
This works directly with React to allow different urls to lead to different pages in your application. We used this mainly to allow the homepage to show the voting view, and then '/admin' to display the admin page.
This is a simple library for making HTTP requests to our Backend RESTful APIs.
It goes without saying that we used HTML & CSS to build our layouts.