- Backend to https://github.com/pawarspeaks/TechNexus
- nodejs
- docker
- npm install
- docker postgres docker image pull
- from the root of this repository, execute the command:
docker compose up
- node index.js
- database: events_db
- table: events
- GET /events: Retrieve all events.
- GET '/events/online'
- GET '/events/offline'
** To play around with the database
docker exec -it <docker-postgres-container> bash
su - postgres
psql -d <db-name>