agiledev0115 / pern-stack-display

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

⚑ PERN Stack Display

  • PostgreSQL Express React Node (PERN) full-stack app, integrates React + Material UI frontend with Node-Express backend and PostgreSQL database.
  • Create, Read, Update and Delete (CRUD) project data from SQL database
  • Note: to open web links in a new window use: ctrl+click on link

GitHub repo size GitHub pull requests GitHub Repo stars GitHub last commit

πŸ“„ Table of contents

πŸ“š General info

Backend

  • PostgreSQL needs to be installed and running - I started it from my Windows 10 PostgreSQL 14 dropdown option 'SQL shell (psql)'
  • Postgresql shell commands: \l list all databases. \c database1 connect to database1. \dt inspect tables. \q to quit.

Frontend

  • Project list displayed in grid of cards with project edit and delete buttons. Clicking on a project links to a project detail page where title and description can be changed
  • Material UI sx prop shortcuts used to define a custom style that has access to the theme.

πŸ“· Screenshots

Backend screenshot Frontend screenshot

πŸ“Ά Technologies - Backend

πŸ“Ά Technologies - Frontend

πŸ’Ύ Setup - Backend

  • Install PostgreSQL & run it (requires the password you created during installation)
  • Add postgresql database credentials to .env file
  • npm run dev to run backend with automatic restart if you change something

πŸ’Ύ Setup - Frontend

  • npm i to install dependencies
  • cd client to change to Client directory
  • npm run dev runs the app in development mode. Open http://localhost:3000 to view it in the browser.
  • npm run build Builds the app for production to the build folder. It correctly bundles React in production mode and optimizes the build for the best performance. The build is minified and the filenames include the hashes.

πŸ’» Code Examples - Backend

  • tba

πŸ’» Code Examples - Frontend

  • tba

πŸ†’ Features

  • Full CRUD capability with data stored in a Postgres database

πŸ“‹ Status & To-Do List

  • Status: Working
  • To-Do: change to grid of cards, add eslint?, add date to project record, add about page, contact page to nav bar.

πŸ‘ Inspiration

πŸ“ License

  • This project is licensed under the terms of the MIT license.

βœ‰οΈ Contact

About


Languages

Language:JavaScript 90.2%Language:HTML 6.6%Language:CSS 3.2%