Example project for course 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.9.4 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 :)