Events driven hackerspace communities in the Netherlands.
REST API Proof of Concept for hackhub.nl in Node.js/TypeScript.
Note
Under construction - development only.
erDiagram
HACKER-EVENTS-ORGANIZERS {
number id
number hackerEventId
number organizerId
}
HACKER-EVENTS ||--o{ HACKER-EVENTS-ORGANIZERS : has-organizers
HACKER-EVENTS {
number id
string name
string description
number hackerSpaceId
}
HACKER-SPACES ||--o{ HACKER-EVENTS : hosts
HACKER-SPACES {
number id
string name
string city
string province
string website
}
ORGANIZERS ||--o{ HACKER-EVENTS-ORGANIZERS : organizes
ORGANIZERS {
number id
string name
string description
}
USER ||--o{ SESSIONS : logs-in
USER {
number id
string email
string name
string password
}
SESSIONS
SESSIONS {
number id
boolean valid
string userAgent
number userId
}
Node.js, NPM and PostgreSQL installed.
Create hackhub
database in PostgreSQL.
Copy .env.example
into .env
and set values.
Install dependencies:
npm install
Start the server:
npm run dev
Run all tests:
npm test
For testing with Postman import postman_collection.json