Students database

Demo

Demo Video

Setup

Make sure Node.js and npm are installed (Node 18 LTS or above)

Database setup

  1. Create a database named school in pgAdmin
  2. Make sure database connection info matches your database in ./lib/client.ts
  3. Run the command to populate the database (you can also reset the db with this command)
npm install
npm run populate

Project Setup

Run the commands in the project dir:

npm install
npm start

Code explanations

Documentation is in function files