clementesepulveda / project_5

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Template

Template built with koa for IIC2513 - Tecnologías y Aplicaciones Web, Pontificia Universidad Católica de Chile.

Prerequisites:

  • PostgreSQL
    • you will need a database with name and user/password as configured in src/config/database.js
  • Node.js LTS (10.x or 12.x)
  • Yarn

Project Setup

  • Clone repository
  • Install dependencies:
    • yarn install

Database Setup (development)

Install postgresql

Create development database

createdb iic2513template_dev

Run migrations

./node_modules/.bin/sequelize db:migrate

Run the app!

yarn start

or directly

node index.js

or, if you want automatic restart after any change in your files

yarn dev

Now go to http://localhost:3000 and start browsing :)

About


Languages

Language:JavaScript 90.0%Language:EJS 8.9%Language:SCSS 1.1%