Coder Social home page Coder Social logo

ezstock's Introduction

Name: Braeden Hall
Student #: 101143403
Project: Stock Market

Files:
- js/
	- models/
		- orderModel.js (structure of what an order looks like in the db)
		- stockModel.js (structure of what an stock looks like in the db)
		- subscriptionModel.js (structure of what an subscription looks like in the db)
		- userModel.js (structure of what an user looks like in the db)
		- notificationModel.js (structure of what an notification looks like in the db)
	- routes/
		- stockRouter.js (controls the logic of all routes throuh the api that start with /stock)
		- userRouter.js (controls the logic of all routes throuh the api that start with /user)
	- databaseInitializer.js (initializes the database and fills it with some dummy data)
	- server.js (handles the main server logic for the entire project)
	- stockReader.js (reads the symbols.txt file and creates a stock object for each symbol)
	- graphqlSchema.js (schema for how graphql queries work for the graphql api)
- public/
	- css/
		- navbar.css (contins all styling relevant to the navbar)
		- stocks.css (caontains all css relevant to the stock search page)
	- js/
		- index.js (contains functions to do with incrementing the day as an admin on the client side)
		- login.js (sends an AJAX post request to the server that allows a user to login)
		- register.js (same as login but allows user to create new account)
		- stock.js (contains functions associated with actions that can be done on an individual stock page)
		- stocks.js (sends AJAX get request to the server for an updated list of stocks based on search criteria)
		- user.js handles logic for all actions on the user profile page)
		- list.js (handles logic to do with updating watchlists)
		- notifs.js (handles logic for displaying notifications)
- views/
	- partials/
		- bootstrap.ejs (list of cdn's required for the use of bootstrap on pages)
		- header.ejs (div containg header information)
		- subscriptionModal.ejs (the subscription modal that appears on the user profile page)
	- pages/
		- index.ejs (html for rendering the index page)
		- login.ejs (html for rendering the login page)
		- register.ejs (html for rendering the registration page)
		- stock.ejs (html for rendering the stock page)
		- stock.ejs (html for rendering the stock page)
		- stocks.ejs (html for rendering the stock list page)
		- unauthorized.ejs (page rendered when user tries to access a page without proper authorization)
		- 404.ejs (page shown when a page cannot be found)
		- kick.ejs (page displayed when your session times out)
		- list.ejs (page rendered when view a specific watchlist)
		- unauthorized.ejs (page displayed if you try to acces a page you are not authorized to)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.