Skip to content
This repository has been archived by the owner on Sep 8, 2022. It is now read-only.

Prototype for the AsylumConnect Communities project

License

Notifications You must be signed in to change notification settings

weareinreach/asylumconnect-communities

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

csc667-teamproject-team02

Asylum Connect

Software Stack

  • React.js - used for client side rendering
  • Node.js - evented I/O for the backend
  • Express - fast node.js network app framework
  • MongoDB - flexible NoSQL database
  • Mongoose - MongoDB object modelling for node.js

Instructions

Dependencies

  1. Clone this repository

  2. Install server dependencies

    $ cd csc667-sp19-Team02
    $ npm install
  3. Install client dependencies

    $ cd client
    $ npm install

Run the app

  1. Start mongodb locally
    $ mongod
  2. Start the client
    $ cd csc667-sp19-Team02
    $ npm run dev
  3. Browse to http://localhost:3000/

Testing

  • Mocha - JavaScript test framework running on Node.js and in the browser
  • Chai - BDD / TDD assertion library for Node.js and the browser

Server

Make sure mongodb is running before testing the server.

$ cd server
$ npm run test