Giter Club home page Giter Club logo

corner's Introduction

Running a test with mocha is accomplished by typing:

npm test

in the command prompt directed at the base directory.

Corner

Server/Router for the cs480 project.

Start project by:

Ensure node.js and mongodb are installed on your system.

Set command prompt to the base file.

Enter commands:

npm install

and once that's done:

mongod

Do not close that window, it is running mongo! In a separate window, enter command:

node server

or, if you want the server to automatically restart when the back end is edited automatically, enter:

nodemon server

This is extremely helpful, by the way.

This should get it going, open browser to local host 3000.

There are two collections in the same database associated with this web service. Each collection is represented by the different schema, one called Posting, one called Profile. These two can be treated independently. The front end, angular-based router is in public/controllers, called controller.js. The back end controller is in routes called api.js.

I would recommend reading up on angularjs to learn how to use the interface. Learning the ng-controller, ng-click, ng-repeat, and $scope, $rootScope, $http attributes would be probably most helpful.

corner's People

Contributors

deathrabbit avatar mmedlin1997 avatar tried42long avatar

Watchers

 avatar  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.