Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jerryfzhang/conferencetravelgrantsystem
CTGS is system for applying conference travel grant , built using Nodejs, Express.js, MongoDB ang jQuery
https://github.com/jerryfzhang/conferencetravelgrantsystem
express jquery mongodb mongodb-ang-jquery nodejs reimbursement time-management travel-planner tutorial
Last synced: about 2 months ago
JSON representation
CTGS is system for applying conference travel grant , built using Nodejs, Express.js, MongoDB ang jQuery
- Host: GitHub
- URL: https://github.com/jerryfzhang/conferencetravelgrantsystem
- Owner: JerryFZhang
- License: mit
- Created: 2016-12-02T22:02:40.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-05-30T21:00:32.000Z (over 6 years ago)
- Last Synced: 2024-11-07T03:45:15.120Z (3 months ago)
- Topics: express, jquery, mongodb, mongodb-ang-jquery, nodejs, reimbursement, time-management, travel-planner, tutorial
- Language: HTML
- Homepage:
- Size: 3.37 MB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# 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
- [cookie-parser tutorial](http://expressjs-book.com/index.html%3Fp=128.html)
- [mongo shell tutorial](http://www.mkyong.com/mongodb/how-to-create-database-or-collection-in-mongodb/)
- [express-session](https://github.com/expressjs/session)# Author
- [Rui Liu](https://github.com/RayLLiu) - Front-end Development & Intergration
- [Gin Kwan](https://github.com/GinKwan) - Front-end Development & UI designing
- [Fengwei Zhang](https://github.com/zhang96) - Backend Development & Database Management# License
MIT, see LICENSE.txt. Except for academic use, which is completely prohibited.