Skip to content

yifange/topica

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 

Repository files navigation

Topica

  • ngapp: AngularJS app, the frontend assets.
    Use grunt server to start the frontend server. Use grunt clean --force and grunt build to copy the frontend code to the Rails app folder.

  • topica: Rails app, the backend code, most of the meaningful work for iteration2 are in here.
    Use rails server to start the api server.
    Most of the class method we designed, like CRUDs, are implemented by Rails automagically because of ActiveRecords.
    E.g. we defined in the User model that a user should has many feeds by saying has_many :feeds, then we get an instance method User#feeds to get all the feeds that associated with this user instance.

All the APIs are listed here Instructions on unit testing in rails can be found here.

Instruction on how to install npm and nodeJS, plese refer to the following commands. echo 'export PATH=$HOME/local/bin:$PATH' >> ~/.bashrc . ~/.bashrc mkdir ~/local mkdir ~/node-latest-install cd /node-latest-install curl https://nodejs.org/dist/node-latest.tar.gz | tar xz --strip-components=1 ./configure --prefix=/local make install # ok, fine, this step probably takes more than 30 seconds... curl https://npmjs.org/install.sh | sh

About

Topic-oriented social networking

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published