This repository contains a PostgreSQL database dump (planit_dump.sql) for the PlanIt project β a personal planning and recommendation app.
The dump includes the full schema and minimal seed data for development, testing, or educational purposes.
PlanIt is a full-stack web application built with:
- πΉ Frontend: React
- πΉ Backend: Node.js + Express
- πΉ Database: PostgreSQL
This SQL dump was generated from a live Render database using PostgreSQL 16.
- β
Full table structure (
CREATE TABLE,SEQUENCES, constraints) - β Foreign key relationships and validation checks
- β Initial seed data (admin user + login)
- β No owner/privileges
- β No
CREATE DATABASEorDROP DATABASEstatements - π Format: Plain SQL with
INSERTstatements (notCOPY), UTF-8 encoded
Make sure you have PostgreSQL 16 or later installed.
createdb planitpsql -d planit -f planit_dump.sqlThis dump includes a sample admin account:
Email: planit@mail.com
Password: (stored as bcrypt hash)
Role: admin
β οΈ These credentials are for demonstration only. Do not use in production.
This diagram shows the structure of the database and relationships between tables:
This repository is intended for educational and demonstration purposes. You are welcome to use it as a reference or foundation for your own projects.
Suggestions and pull requests are welcome!
If you're building something similar and want to collaborate β feel free to reach out.
