Giter Club home page Giter Club logo

henryszex42s / teamform-seed Goto Github PK

View Code? Open in Web Editor NEW

This project forked from hkpeterpeter/teamform-seed

0.0 4.0 6.0 6.91 MB

This project is an application skeleton. It is used for a HKUST Software Engineering Course (COMP3111/H) in Fall 2016/17. My goal: The project is not asking students to re-produce the sample project. We should encourage students to do something better than the TA.

Home Page: https://course.cse.ust.hk/comp3111/teamform/

License: MIT License

HTML 63.02% JavaScript 31.76% CSS 5.22%

teamform-seed's Introduction

teamform-seed modified the 5th times.... HAHA

The seed project for the team forming web application

Pre-requisites

Install git: http://git-scm.com/.

Install node.js and npm: http://nodejs.org/. Commands to test the installation:

git --version
node -v
npm -v

Clone the project

Please clone the repository at GitHub using git clone command:

git clone https://github.com/hkpeterpeter/teamform-seed
cd teamform-seed

Install Dependencies

In this course project, fixed version of key libraries (e.g. AngularJS 1.5.7) are included in app/lib folder to avoid discreprency. Other development dependencies (e.g. karma toolkit, http-server...) will be installed separately via:

npm install

After running this command, a new folder will be created:

  • node_modules - It contains the npm packages for the necessary tools we need to build and test our web application

Run the Application

We have preconfigured the project via a configuration file package.json. The simplest way to start this web application is:

npm start

After that, open a web browser (Google chrome desktop/mobile web browser is recommended) with the following URL: http://localhost:8080/index.html.

Directory Layout

LICENSE                 --> The software LICENSE of this open source project. Generated by Github
README.md               --> This README file (default README file for Github)
.gitignore              --> Git configuration file. It can be used to ignore files/directories from Git 
karma.conf.js           --> Configuration file for the Jasmine/Karma unit test framework. 
package.json            --> Configuration file for node.js and npm (Node Package Manager)
app/                    --> all of the source files for the application
  index.html            --> The front-end of the team form web application
  admin.html            --> The admin HTML page
  team.html             --> The team HTML page
  member.html           --> The member HTML page
  lib/                  --> Key libraries with fixed version (e.g. Angular JS 1.5.7) 
  js/                   --> User-defined JavaScript files
     admin.js           --> The JS file for the admin page
     index.js           --> The JS file for the front-end page
     team.js            --> The JS file for the team page
     member.js          --> The JS file for the member page
     site.js            --> The JS file containing functions shared by multiple pages
  unit_tests            --> The folder containing the unit test cases (Syntax: Jasmine/Karma)
     test_site.js       --> A sample test case
  

Testing

Running Unit Tests

We provide a Karma configuration file to run them.

  • the configuration is found at karma.conf.js
  • all unit test cases should be written inside the folder app/unit_tests

The easiest way to run the unit tests is to use the supplied npm script:

npm test

This script will start the Karma test runner to execute the unit tests. In this course, we will mainly focus on the branch and statement coverage. The output files will be stored inside the app/coverage folder.

Addtional information for COMP3111H students

Besides from web development, COMP3111H team needs to work on a mobile app (iOS and Android). We recommend your team to use Ionic framework [http://ionicframework.com/] (http://ionicframework.com/). Ionic framework is based on AngularJS. Features completed in Angular can be easily ported to Ionic.

Reference

For more information, please checkout:

teamform-seed's People

Contributors

henryszex42s avatar hkcm189 avatar hkkcliu avatar hkpeterpeter avatar lamwyman avatar sclamac avatar scyan123 avatar yungyung616 avatar

Watchers

 avatar  avatar  avatar  avatar

teamform-seed's Issues

Login display

I think the username can be shown on the top of each page once the user logged in.

Sign in & Sing out

I think we should create one more page for after login.
It is because the "sign out" button should not occur before sing in.
Also, when the user signed in, "sign up" and "sign in" button should not occur.

Team recommendation

What does the new team name should be used if two two combined?
For example:
TeamA: Abc
TeamB: 123
New Team:?

About team forming

For combining two team, is it create a new team and add all members from the original two teams, and then delete two of them??

use of team combination

Should this function also allow the team leader to use? So that they can combine with their friends' team immediately.

Hints to user

Maybe we should give some hints to users about what they should do if they were not yet able to use some function.

Member profile

Member profile should provide more different information to allow others to search keyword.

Display word

Somehow the words cannot be shown clearly because the font color crush with the background.

Member page problems

The introduction part cannot be worked. I will use another method such as drop down list!!!

Join event problem

I think the web page can show how many places of the event left. This can let the users know which events can they join.

Filter Proble

the filter seems not working to filter the data and display in the website

Search team member

The leader should be searched and invited the member base on the position or characteristics

Unit Test

Unit Test could not mock the firebase related object and array

Member page introduction

Member page introduction will be done before this WED!!! And the method I will use the value pass by button!

Login problem

There are some bug in the Google login.
I think that the we could change it to use email and password auth.
That might be better

sign up

I think the sign up page can require user for more detail such as their name, phone number for password recovery.

Add help page

Maybe be we can add a help page. If the users encounter problem we can forward them to a help page.

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.