/Mountie-Mobile-Website

The mountie mobile website code (deprecated and awful, with so many things wrong with it). This was mainly a learning experience

Primary LanguageJavaScript

Mountie-Mobile-Website

Description

This is the Mountie Mobile Website, designed and developed solely by Jack Norris. It's a little ghetto, but hey, it's not really client facing (it's for the adminstrators). With this website, you can submit events and announcements for approval from the school and have them appear on the Mountie Mobile App. It's poorly designed and messy, but I've improved immensely since making this

Features:

  • Secure login through the use of Firebase
  • Admin user privileges
  • Add events to Mountie Mobile App directly from website
  • Send out push notification announcements to Mountie Mobile users
  • Edit events

Link (not really much use w/out login): https://mountie-mobile.firebaseapp.com

Using Firebase for my database and NodeJS for my backend

Note: Yes, I know that it's messy, and that I'm kind of an idiot for not using a framework and putting practically all my backend code in index.js. I didn't know a lot coming into this project, so some of the code is definitely going to be a bit messy. I'm currently working on a version that has a clean backend architecture and used Angular for the frontend. My implementation of dynamic webpages is straight wack bc I'd only done backend programming with C++, and I wasn't crazy familiar with the XMMHTTPRequest api already provided in JavaScript

A full list of things wrong with this code (and to improve)

  • I didn't use a framework, despite multiple good choices existing to make this process easier & cleaner
  • Inline styling for html files
  • Didn't seperate business logic from http endpoints
  • Too much configuration in index.js
  • Everything is in the index.js
  • Was an idiot and didn't leverage client side api's to render dynamic data with javascript