Skip to content

Ruclo/TechNexus-Backend

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Details:

Prequisites:

  • nodejs
  • docker

Steps to run the project:

  • npm install
  • docker postgres docker image pull:docker compose up
  • node index.js

Schema:

  • database: events_db
  • table: events

API Endpoints:

  • 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>

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%