A web app that lets you share your study material, along with answers and comments for everyone to see and contribute. You can see it working on sgfundamentals.herokuapp.com.
To test as a normal user, log in as user: user1; password: user
, or if you want to log as admin user: admin; password: admin
.
Template built with koa for IIC2513 - Tecnologías y Aplicaciones Web, Pontificia Universidad Católica de Chile.
- PostgreSQL
- you will need a database with name and user/password as configured in
src/config/database.js
- you will need a database with name and user/password as configured in
- Node.js v8.4.0 or above
- Yarn
- Clone repository
- Install dependencies:
yarn install
- On Mac OS X using Homebrew:
brew install postgresql
- Start service: check LaunchRocket or lunchy for postgresql service management
- Other platforms
- More details
createdb iic2513template_dev
./node_modules/.bin/sequelize db:migrate
yarn start
or directly
node index.js
or, if you want automatic restart after any change in your files
./node_modules/.bin/nodemon
Now go to http://localhost:3000 and start browsing :)