Make sure Node.js
and npm
are installed (Node 18 LTS or above)
- Create a database named
school
in pgAdmin - Make sure database connection info matches your database in
./lib/client.ts
- Run the command to populate the database (you can also reset the db with this command)
npm install
npm run populate
Run the commands in the project dir:
npm install
npm start
Documentation is in function files