Skip to content

The Frontend Tech Stack

johnnywhite612 edited this page Apr 14, 2020 · 1 revision

TypeScript

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.

React

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.

React Router

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.

Axios

This is a simple library for making HTTP requests to our Backend RESTful APIs.

HTML & CSS

It goes without saying that we used HTML & CSS to build our layouts.

Clone this wiki locally