GithubHelp home page GithubHelp logo

zarad's Introduction

Stories in Ready Build Status

Zarad

Zarad is app help the sport clubs to manage their activities and facilitate track the players and their history,also it helps player to see the videos related to his club.

Team

  • Product Owner: Mohammad al-bakri
  • Scrum Master: Mihyar Al-masalma
  • Development Team Members: Fatima hammami, Elham rababah, Mohammad Al-bakri, Mihyar Al-Masalma

Table of Contents

  1. Usage
  2. Requirements
  3. Development
    1. Installing Dependencies
    2. Tasks
  4. Team
  5. Contributing

Usage

app is now running online through : here

to run the app locally:

ionic serve 

to run the app on phone platforms

ionic serve --lab

Running Test

-run front end test

npm run karma

-run back end test with coverage

npm test

-run front end cover test

npm run cover

styling guide

gulp

Requirements

  • Node 6.3.x
  • mongoDB 4.1.0
  • ionic 1.3.1

Development

Installing Dependencies

From within the root directory:

npm install -g ionic
npm install

#APIs Used

  • We used the Youtube API to gather details about the videos related to each club
  • we used Imgur API to stord the tournaments Image .

RESTful Routes

Method Endpoint Description
Post /api/admin/create create new admin
Post /api/admin/signin check if the admin authenticat to use the app
get /api/admin/x/:username get the data of admin depend on username.Username must be passed in as the last part of the URL path
post /api/admin/delete delete specific admin
Post /api/admin/admins get information of all admin
get /api/tournament/x/:name get information of tournament depend on name.name must be passed in as the last part of the URL path
get /api/tournament/tournaments get information of all tournaments
post /api/tournament/create create new tournaments
post /api/tournament/delete delete specific tournaments
post /api/tournament/edit' update tournament information
post /api/tournament/addLike' add like on tournament
post /api/club/register create new club
get /api/club/x/:username get information of club depend on username.username must be passed in as the last part of the URL path
get /api/clubs get information of all club
post /api/club/delete Remove specific club
post /api/club/editProfile update information of club
post /api/club/signin check if the club authenticat to use the app
post /api/club/getclub get information of club
post /api/user/delete delete specific user
post /api/user/editProfile update information Profile of user
get /api/user/x/:username get information of user depend on username.username must be passed in as the last part of the URL path
get /api/users get information of all user
post /api/user/signin check if the user authenticat to use the app
post /api/user/signup create new user
post /api/user/resub check the user subscribtion to use the app
post /api/user/goals add goals for specific user
get /api/quotes/get get information of quote
post /api/quotes/newquote add new quote to specific user

#The Database We used MongoDB for our database. Initially,we were planning on club being able to have users , also we have tournament table which stored tournament data ,quote table have data about quote. In the end, the database mainly stored user,admin,club data to help with authentication and to deliver a more customized experience

| Table : |

| admin| | tournament| | club| | user| | quote|

Schema's

User Schema

{
	username : { type: String, required: true, index : {unique: true}},
	password : { type: String, required: true},
  country : { type : String , required : true },
  beltColor: { type: String , required: true},
  club: { type: String, required: true},
  membership : { type : Number, required : true , default : 1 },
  email: { type: String , index : {unique : true}},
  firstName: { type: String},
  image : {type : String},
  lastName: { type: String },
  middleName : { type : String },
  age : { type : Number},
  phone: { type: String },
  Date: { type: Date, default: Date.now() },
  attendance : { type: Number },
  achievements: { type : Array},
  valid : { type : Boolean , default : true },
  subscription : { type : Number },
  resub : { type : Boolean , default : false},
  goals : {type : Array},
  salt : { type : String}
}

Admin Schema

{
  username : {type: String, required : true, index : { unique : true }},
  password : {type: String, required : true},
  firstName : {type: String, required : true},
  lastName : {type: String, required : true},
  email : {type: String, required : true},
salt : { type : String}
}

Club Schema

{
	username : {type : String, required : true, index : {unique : true} },
	password : {type : String, required : true },
  email    : {type : String , index : { unique : true}},
	country  : {type : String, required : true },
	clubName : {type : String, required : true, index : { unique : true } },
  image    : {type:String },
  channelId : {type : String, unique : true},
  salt : { type : String}
}

Tournament Schema

{
	name : {type : String , required : true},
	Date : {type : String , required : true},
	place : {type : String , required : true},
	organizer : {type : String , required : true},
	details : {type :  String , required : true},
	poster : {type : String , required : true},
	like:{type :[]}
})

Qoutes Schema

 {
 image : { type : String}
}

Roadmap

View the project roadmap here

Contributing

See CONTRIBUTING.md for contribution guidelines.

Production

See our website here.

Builds

See our latest build here.

zarad's People

Contributors

mihyar-30614 avatar fatemahammami avatar zarad1993 avatar fatima90 avatar elham-rababah avatar waffle-iron avatar charltonaustin avatar

Watchers

James Cloos avatar  avatar

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.