This project demonstrates how to create a dynamic table using JavaScript DOM manipulation, a RESTful API with Express, and data from a Postgres database. The application retrieves student information from the database and displays it in a table.
- Dynamic table creation using JavaScript and the DOM
- Data retrieved from a Postgres database using a REST API
- Easy-to-understand code structure
- Modifiable and customizable
Project is created with:
- JavaScript ES6
- NodeJS
- My own written REST API
- PostgreSQL
- Docker
- docker-compose
- Bootstrap
To run this project, first you need to clone repository:
git clone git@github.com:sashauly/StudentsInfo.git
Then run Docker containers with NodeJS REST API and postgres database:
cd data-tables-JS-REST-Postgres/src/api && docker-compose up && cd ../
Then you need to open up an html file in your browser:
For Linux: xdg-open index.html
For Mac: open index.html
- Delete the user
- Update user info
- Create modal window for adding and searching
- Give up on Bootstrap in favor of pure CSS
Project is: in progress
Created by @sashauly - feel free to contact me!