This repository contains NodeJS API for alumni directory of Thapathali campus.
git clone git@github.com:Thapathali-Alumni/alumni-directory-api.git
cd alumni-directory-api
npm install
npm start
Load the api documentation from http://localhost:3000/docs
After making changes to models inside ./src/models folder, run
npm run db:makemigrations
Running 'npm start' runs the sequelize migrate command so the new changes are applied to the database. If you need to manually run the migrations, run:
npm run db:migrate