Skip to content

CTGS is system for applying conference travel grant , built using Nodejs, Express.js, MongoDB ang jQuery

License

Notifications You must be signed in to change notification settings

JerryFZhang/ConferenceTravelGrantSystem

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

91 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ConferenceTravelGrantSystem-SEG3102

CTGS is a course project for SEG3102, built using Nodejs, Express.js, MongoDB ang jQuery. Usage of all packages/libraries will be listed in the "Frameworks" section below.

To start:

  1. cd to current dir

    $ cd /path/to/current/dir/mongo

  2. install dependencies:

    $ npm install

  3. Start mongodb

    $ sudo mongod --dbpath /path/to/current/dir/mongo

    exmaple:

    $ sudo mongod --dbpath /Users/jerryzhang/Google\ Drive/Study/2016-4-Fall/SEG3102A/Proj/3102/mongo

  4. import json document as data

    $ mongoimport --host 127.0.0.1 --port 27017 [dbName] --collection [collectionName] --file [inputFile]

    exmaple:

    $ mongoimport --host 127.0.0.1 --port 27017 --db test --collection user --file /Users/jerryzhang/Google\ Drive/Study/2016-4-Fall/SEG3102A/3102/mongo/user.json

  5. Start server

    npm start

  6. Save db

    $ mongoexport --host 127.0.0.1 --port 27017 --db [dbName] --collection [collectionName] --out [outputFile]

    exmaple:

    $ mongoexport --host 127.0.0.1 --port 27017 --db test --collection user --out /Users/jerryzhang/Google\ Drive/Study/2016-4-Fall/SEG3102A/3102/mongo/user.json

  7. Shut the server down

    ctrl+c

Framworks

  • See package.json

Useful References

Author

  • Rui Liu - Front-end Development & Intergration
  • Gin Kwan - Front-end Development & UI designing
  • Fengwei Zhang - Backend Development & Database Management

License

MIT, see LICENSE.txt. Except for academic use, which is completely prohibited.

About

CTGS is system for applying conference travel grant , built using Nodejs, Express.js, MongoDB ang jQuery

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published