Execute npm run start:dev
command in the terminal. Open http://localhost:3000/api/
to access api.
Variable | Description | Default |
---|---|---|
DATABASE_HOST | localhost | |
DATABASE_PORT | 5432 | |
DATABASE_USERNAME | classroom | |
DATABASE_PASSWORD | classroom | |
DATABASE_NAME | classroom |