Giter Club home page Giter Club logo

iqueensu-frontend's Introduction


iQueensu Web Front End

iQueensu Web Front End Project


Contributors

Usernames are listed in alphabetical order

Amber201604
Amber
Backend
Developer

📖 👀 📢
EricPyZhou
EricPyZhou
Chief Frontend
Developer

📖 👀 📢
Somion
Somion
Full-Stack
Developer

📖 👀 📢
Pipi
皮皮Fox
Frontend
Developer

📖 👀 📢
Ricky Zhang
Ricky Zhang
Chief UI/UX
Designer

📖 👀 📢
LeoZzz
LeoZzz
Frontend
Developer

📖 👀 📢

Previous Contributors

Nalsen
Nalsen
Special Thanks
Previous Developer

📖 👀 📢

Simple Rules

Please READ the doc below to be familiar with common rules for our project:

DOC if you don't have access, please contact Superskyyy

Project Information

Dependencies: react, react-dom, react-router-dom, redux, react-redux, connected-react-router

Table of Contents


Get Start

fetch the Project

git clone https://github.com/Superskyyy/iQueensu-frontend.git

then checkout local branches

git branch

to create your own branch:

git checkout -b {your_branch_name}

to merge the latest code from master branch:

git checkout master
git pull
git checkout {existing_local_branch_name}
git merge master

yarn install

Installs packeages & dependencies for the project

yarn run start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

yarn run test

Run jest test module.

yarn run test-continuous

Launches the test runner in the interactive watch mode.

yarn run build

Builds the app for production to the build folder.

yarn run lint

Create eslint src Module.

back to top

iqueensu-frontend's People

Contributors

ericpyzhou avatar superskyyy avatar estkey avatar somiona avatar dependabot-preview[bot] avatar leozzz avatar

Stargazers

 avatar Christina Hu avatar

Watchers

James Cloos avatar Christina Hu avatar

iqueensu-frontend's Issues

Implement Front-end API Authentication Methods

  • API Key/ Secret + Timestamp ===> For public access APIs

  • JWT Cookie Storage ===> All user login required APIs

  • CSRF Token - Web Storage ===> Prevent CSRF attacks introduced by cookie storage, the JWT token is transmitted to back-end via cookie, not header since we cannot read cookie with JAVASCRIPT once it's set as HTTP only. Thus, CSRF attack is possible. We do not need to worry about XSS.

One possible method.

  • Store JWT is an HTTP only cookie.
  • In that JWT, store a hashed version of an XSRF token.
  • Send the client the XSRF token when they sign in so they can store it in local storage
  • Later when the client sends requests, the JWT is automatically sent with each request via cookies and then you also send the XSRF token via a header or query variable and on the server side, re-hash to compare to what’s in the JWT on the server

Use Sass in the project

Sass 包含variable功能可以有效的保证design中shared content(e.g. 颜色)(我也就想到了颜色比较repetitive) 的一致性。

Add a table under Course Load section shown in course page design.

image

最后一列Load那里的绿色Component说不定可以重复使用已经有的Component。 我晚点会把最新的code push上去。 比较麻烦的是里面的数据是从哪获取的,我查一下现在已有的api看有没有。

今天或者明天我会把写api的大概模板传上来,这样可以有个参考。

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.